VirtualBox

Ignore:
Timestamp:
May 29, 2013 2:08:18 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HM: Use assembler structures to make code the VMX host restoration assembly code more readable while doing the structure layout checks at compile time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.mac

    r46268 r46312  
    160160%define VMX_RESTORE_HOST_LDTR                                   40h     ;RT_BIT(6)
    161161
     162struc VMXRESTOREHOST
     163    .uHostSelDS         resw    1
     164    .uHostSelES         resw    1
     165    .uHostSelFS         resw    1
     166    .uHostSelGS         resw    1
     167    .uHostFSBase        resq    1
     168    .uHostGSBase        resq    1
     169    .HostGdtr           resb    10
     170    .HostIdtr           resb    10
     171endstruc
     172
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