Changeset 60686 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE32.asm
- Timestamp:
- Apr 25, 2016 12:51:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE32.asm
r60557 r60686 87 87 ; Load the GDT and enable PE32. 88 88 ; 89 BS3_EXTERN_SYSTEM16 Bs3LgdtDef_Gdt 89 90 BS3_EXTERN_SYSTEM16 Bs3Lgdt_Gdt 90 91 BS3_BEGIN_TEXT16 91 92 mov ax, BS3SYSTEM16 92 93 mov ds, ax 93 lgdt [Bs3Lgdt _Gdt]94 lgdt [Bs3LgdtDef_Gdt] ; Will only load 24-bit base! 94 95 95 96 mov eax, cr0 … … 117 118 extern NAME(Bs3EnteredMode_pe32) 118 119 call NAME(Bs3EnteredMode_pe32) 120 121 ; Load full 32-bit GDT base address. 122 lgdt [Bs3Lgdt_Gdt wrt FLAT] 119 123 120 124 ;
Note:
See TracChangeset
for help on using the changeset viewer.