Changeset 848 in vbox for trunk/src/VBox/VMM/VMMSwitcher
- Timestamp:
- Feb 12, 2007 4:01:52 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18548
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/AMD64ToPAE.asm
r464 r848 21 21 22 22 ;%define DEBUG_STUFF 1 23 %define STRICT_IF 1 23 24 24 25 ;******************************************************************************* … … 66 67 COM64_S_NEWLINE 67 68 COM64_S_CHAR '^' 69 %endif 70 71 %ifdef STRICT_IF 72 pushf 73 pop rax 74 test eax, X86_EFL_IF 75 jz .if_clear_in 76 mov eax, 0c0ffee00h 77 ret 78 .if_clear_in: 68 79 %endif 69 80 … … 707 718 ; special registers which may change. 708 719 vmmGCGuestToHostAsm_SkipHyperRegs: 720 %ifdef STRICT_IF 721 pushf 722 pop ecx 723 test ecx, X86_EFL_IF 724 jz .if_clear_out 725 mov eax, 0c0ffee01h 726 cli 727 .if_clear_out: 728 %endif 709 729 ; str [edx + CPUM.Hyper.tr] - double fault only, and it won't be right then either. 710 730 sldt [edx + CPUM.Hyper.ldtr]
Note:
See TracChangeset
for help on using the changeset viewer.