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-SwitchToLM32.asm

    r60557 r60686  
    134134
    135135        ;
     136        ; Load full 64-bit GDT base address from 64-bit segment.
     137        ;
     138        jmp     dword BS3_SEL_R0_CS64:.load_full_gdt_base wrt FLAT
     139.load_full_gdt_base:
     140        BS3_SET_BITS 64
     141        lgdt    [Bs3Lgdt_Gdt wrt FLAT]
     142        push    BS3_SEL_R0_CS32
     143        push    .back_to_32bit wrt FLAT
     144        o64 retf
     145.back_to_32bit:
     146        BS3_SET_BITS 32
     147
     148        ;
    136149        ; Restore ecx, eax and flags (IF).
    137150        ;
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