VirtualBox

vbox的更動 41905 路徑 trunk/src/VBox/VMM/VMMSwitcher


忽略:
時間撮記:
2012-6-24 上午01:19:25 (12 年 以前)
作者:
vboxsync
訊息:

CPUMCTX++: Rearranging the CPUMCTX structure in preparation of some hidden selector register improvments.

位置:
trunk/src/VBox/VMM/VMMSwitcher
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMSwitcher/AMD64andLegacy.mac

    r37969 r41905  
    542542    lidt    [edx + CPUMCPU.Hyper.idtr]
    543543
    544     ; Setup stack; use the lss_esp, ss pair for lss
     544    ; Setup stack.
    545545    DEBUG_CHAR('3')
    546     mov     eax, [edx + CPUMCPU.Hyper.esp]
    547     mov     [edx + CPUMCPU.Hyper.lss_esp], eax
    548     lss     esp, [edx + CPUMCPU.Hyper.lss_esp]
     546    mov     ax, [edx + CPUMCPU.Hyper.ss]
     547    mov     ss, ax
     548    mov     esp, [edx + CPUMCPU.Hyper.esp]
    549549
    550550    ; Restore TSS selector; must mark it as not busy before using ltr (!)
  • trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac

    r37955 r41905  
    380380%endif
    381381
    382     ; Setup stack; use the lss_esp, ss pair for lss
     382    ; Setup stack.
    383383    DEBUG_CHAR('7')
    384384    mov     rsp, 0
    385     mov     eax, [rdx + CPUMCPU.Hyper.esp]
    386     mov     [rdx + CPUMCPU.Hyper.lss_esp], eax
    387     lss     esp, [rdx + CPUMCPU.Hyper.lss_esp]
     385    mov     eax, [rdx + CPUMCPU.Hyper.ss]
     386    mov     ss, ax
     387    mov     esp, [rdx + CPUMCPU.Hyper.esp]
    388388
    389389%ifdef VBOX_WITH_CRASHDUMP_MAGIC
  • trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac

    r37955 r41905  
    385385    mov     fs, eax
    386386
    387     ; Setup stack; use the lss_esp, ss pair for lss
     387    ; Setup stack.
    388388    DEBUG_CHAR('3')
    389     mov     eax, [edx + CPUMCPU.Hyper.esp]
    390     mov     [edx + CPUMCPU.Hyper.lss_esp], eax
    391     lss     esp, [edx + CPUMCPU.Hyper.lss_esp]
     389    mov     eax, [edx + CPUMCPU.Hyper.ss]
     390    mov     ss, ax
     391    mov     esp, [edx + CPUMCPU.Hyper.esp]
    392392
    393393    ; Restore TSS selector; must mark it as not busy before using ltr (!)
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette