Changeset 14771 in vbox for trunk/src/VBox/VMM/VMMSwitcher
- Timestamp:
- Nov 28, 2008 11:07:18 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40088
- Location:
- trunk/src/VBox/VMM/VMMSwitcher
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac
r14767 r14771 171 171 ;; Jump to identity mapped location 172 172 ;; 173 FIXUP FIX_ GC_2_ID_NEAR_REL, 1, NAME(IDEnterTarget) - NAME(Start)173 FIXUP FIX_HC_2_ID_NEAR_REL, 1, NAME(IDEnterTarget) - NAME(Start) 174 174 jmp near NAME(IDEnterTarget) 175 175 … … 225 225 ; 64-bit jump target 226 226 NAME(pICEnterTarget): 227 FIXUP FIX_HC_64BIT , 0, NAME(ICEnterTarget) - NAME(Start)227 FIXUP FIX_HC_64BIT_NOCHECK, 0, NAME(ICEnterTarget) - NAME(Start) 228 228 dq 0ffffffffffffffffh 229 229 … … 327 327 mov cr3, rax 328 328 ;; We're now in the intermediate memory context! 329 330 ;; 331 ;; Switch to compatibility mode, placing ourselves in identity mapped code. 332 ;; 333 jmp far [NAME(fpIDEnterTarget) wrt rip] 334 335 ; 16:32 Pointer to IDEnterTarget. 336 NAME(fpIDEnterTarget): 337 FIXUP FIX_ID_32BIT, 0, NAME(IDExitTarget) - NAME(Start) 338 dd 0 339 FIXUP FIX_HYPER_CS, 0 340 dd 0 329 341 330 ;;331 ;; Jump to identity mapped location332 ;;333 FIXUP FIX_GC_2_ID_NEAR_REL, 1, NAME(IDExitTarget) - NAME(Start)334 jmp near NAME(IDExitTarget)335 336 342 ; We're now on identity mapped pages! 337 343 ALIGNCODE(16) … … 378 384 ;; 5. Jump to guest code mapping of the code and load the Hypervisor CS. 379 385 ;; 380 FIXUP FIX_ID_2_ GC_NEAR_REL, 1, NAME(ICExitTarget) - NAME(Start)386 FIXUP FIX_ID_2_HC_NEAR_REL, 1, NAME(ICExitTarget) - NAME(Start) 381 387 jmp near NAME(ICExitTarget) 382 388 … … 589 595 at VMMSWITCHERDEF.cbIDCode0, dd NAME(ICEnterTarget) - NAME(IDEnterTarget) 590 596 at VMMSWITCHERDEF.offIDCode1, dd NAME(IDExitTarget) - NAME(Start) 591 at VMMSWITCHERDEF.cbIDCode1, dd NAME(ICExitTarget) - NAME( IDExitTarget)592 at VMMSWITCHERDEF.offGCCode, dd NAME(ICEnterTarget) - NAME(Start)593 at VMMSWITCHERDEF.cbGCCode, dd NAME(IDExitTarget) - NAME(ICEnterTarget)597 at VMMSWITCHERDEF.cbIDCode1, dd NAME(ICExitTarget) - NAME(Start) 598 at VMMSWITCHERDEF.offGCCode, dd 0 599 at VMMSWITCHERDEF.cbGCCode, dd 0 594 600 595 601 iend -
trunk/src/VBox/VMM/VMMSwitcher/VMMSwitcher.h
r14167 r14771 63 63 #define FIX_ID_FAR32_TO_64BIT_MODE 33 64 64 #define FIX_GC_APIC_BASE_32BIT 34 65 #define FIX_HC_64BIT_NOCHECK 35 65 66 #define FIX_THE_END 255 66 67 /** @} */ -
trunk/src/VBox/VMM/VMMSwitcher/VMMSwitcher.mac
r14167 r14771 107 107 %define FIX_ID_FAR32_TO_64BIT_MODE 33 108 108 %define FIX_GC_APIC_BASE_32BIT 34 109 %define FIX_HC_64BIT_NOCHECK 35 109 110 %define FIX_THE_END 255 110 111 ;/** @} */
Note:
See TracChangeset
for help on using the changeset viewer.