VirtualBox

Changeset 45698 in vbox


Ignore:
Timestamp:
Apr 24, 2013 1:41:08 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Alignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45693 r45698  
    154154    /** The host's rflags/eflags. */
    155155    RTCCUINTREG     uEFlags;
     156#if HC_ARCH_BITS == 32
     157    uint32_t        u32Alignment0;
     158#endif
    156159    /** The guest's LSTAR MSR value used for TPR patching for 32-bit guests. */
    157160    uint64_t        u64LStarMsr;
    158161    /** The guest's TPR value used for TPR shadowing. */
    159162    uint8_t         u8GuestTpr;
     163    /** Alignment. */
     164    uint8_t         abAlignment0[6];
    160165
    161166    /** The basic VM-exit reason. */
    162167    uint16_t        uExitReason;
     168    /** Alignment. */
     169    uint16_t        u16Alignment0;
     170    /** The VM-exit interruption error code. */
     171    uint32_t        uExitIntrErrorCode;
    163172    /** The VM-exit exit qualification. */
    164173    RTGCUINTPTR     uExitQualification;
    165     /** The VM-exit interruption error code. */
    166     uint32_t        uExitIntrErrorCode;
    167174
    168175    /** The VM-exit interruption-information field. */
    169176    uint32_t        uExitIntrInfo;
     177    /** The VM-exit instruction-length field. */
     178    uint32_t        cbInstr;
    170179    /** Whether the VM-entry failed or not. */
    171180    bool            fVMEntryFailed;
    172     /** The VM-exit instruction-length field. */
    173     uint32_t        cbInstr;
     181    /** Alignment. */
     182    uint8_t         abAlignment1[5];
    174183
    175184    /** The VM-entry interruption-information field. */
     
    193202    bool            fVectoringPF;
    194203} VMXTRANSIENT, *PVMXTRANSIENT;
     204AssertCompileMemberAlignment(VMXTRANSIENT, uExitReason,    sizeof(uint64_t));
     205AssertCompileMemberAlignment(VMXTRANSIENT, uExitIntrInfo,  sizeof(uint64_t));
     206AssertCompileMemberAlignment(VMXTRANSIENT, uEntryIntrInfo, sizeof(uint64_t));
     207
    195208
    196209/**
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