VirtualBox

Changeset 46929 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 3, 2013 12:46:04 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86934
Message:

VMM/HMR0Mixed: A couple of missed skip LDTR, TR restoration in the assembly code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac

    r46928 r46929  
    544544    mov     qword [xDI + CPUMCTX.edi], rax
    545545
     546%ifndef VMX_SKIP_LDTR_TR
    546547    ; Restore TSS selector; must mark it as not busy before using ltr (!)
    547548    ; ASSUME that this is supposed to be 'BUSY'. (saves 20-30 ticks on the T42p).
     
    559560    pop     xAX         ; Saved LDTR
    560561    lldt    ax
     562%endif
    561563
    562564    pop     xSI         ; pCtx (needed in rsi by the macros below)
     
    622624%endif
    623625
     626%ifndef VMX_SKIP_LDTR_TR
    624627    ; Restore TSS selector; must mark it as not busy before using ltr (!)
    625628    ; ASSUME that this is supposed to be 'BUSY'. (saves 20-30 ticks on the T42p).
     
    637640    pop     xAX         ; Saved LDTR
    638641    lldt    ax
     642%endif
    639643
    640644    pop     xSI         ; pCtx (needed in rsi by the macros below)
     
    674678%endif
    675679
     680%ifndef VMX_SKIP_LDTR_TR
    676681    ; Restore TSS selector; must mark it as not busy before using ltr (!)
    677682    ; ASSUME that this is supposed to be 'BUSY'. (saves 20-30 ticks on the T42p).
     
    689694    pop     xAX         ; Saved LDTR
    690695    lldt    ax
     696%endif
    691697
    692698    pop     xSI         ; pCtx (needed in rsi by the macros below).
Note: See TracChangeset for help on using the changeset viewer.

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