VirtualBox

Ignore:
Timestamp:
Apr 25, 2016 12:51:41 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: Enabled full gdt base address loading (and testing).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE32.asm

    r60557 r60686  
    8787        ; Load the GDT and enable PE32.
    8888        ;
     89BS3_EXTERN_SYSTEM16 Bs3LgdtDef_Gdt
    8990BS3_EXTERN_SYSTEM16 Bs3Lgdt_Gdt
    9091BS3_BEGIN_TEXT16
    9192        mov     ax, BS3SYSTEM16
    9293        mov     ds, ax
    93         lgdt    [Bs3Lgdt_Gdt]
     94        lgdt    [Bs3LgdtDef_Gdt]        ; Will only load 24-bit base!
    9495
    9596        mov     eax, cr0
     
    117118        extern  NAME(Bs3EnteredMode_pe32)
    118119        call    NAME(Bs3EnteredMode_pe32)
     120
     121        ; Load full 32-bit GDT base address.
     122        lgdt    [Bs3Lgdt_Gdt wrt FLAT]
    119123
    120124        ;
Note: See TracChangeset for help on using the changeset viewer.

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