VirtualBox

Changeset 30786 in vbox


Ignore:
Timestamp:
Jul 12, 2010 11:18:42 AM (15 years ago)
Author:
vboxsync
Message:

VBox/hwacc_svm.h: Added 4 new fields to SVM_VMCB.ctrl found in AMD doc 24593, rev 3.17.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/hwacc_svm.h

    r28800 r30786  
    578578        /** Offset 0xB8 - LBR Virtualization. */
    579579        uint64_t    u64LBRVirt;
     580        /** Offset 0xC0 - VMCB Clean Bits. */
     581        uint64_t    u64VMCBCleanBits;
     582        /** Offset 0xC8 - Next sequential instruction pointer. */
     583        uint64_t    u64NextRIP;
     584        /** Offset 0xD0 - Number of bytes fetched. */
     585        uint8_t     cbInstrFetched;
     586        /** Offset 0xD1 - Number of bytes fetched. */
     587        uint8_t     abInstr[15];
    580588    } ctrl;
    581589
    582590    /** Offset 0xC0-0x3FF - Reserved. */
    583     uint8_t     u8Reserved3[0x400-0xC0];
     591    uint8_t     u8Reserved3[0x400-0xE0];
    584592
    585593    /** State Save Area. Starts at offset 0x400. */
     
    676684} SVM_VMCB;
    677685#pragma pack()
     686AssertCompileSize(SVM_VMCB, 0x1000);
     687AssertCompileMemberOffset(SVM_VMCB, ctrl.u16InterceptRdCRx, 0x000);
     688AssertCompileMemberOffset(SVM_VMCB, ctrl.abInstr,           0x0D1);
     689AssertCompileMemberOffset(SVM_VMCB, guest.ES,               0x400);
     690AssertCompileMemberOffset(SVM_VMCB, guest.u8CPL,            0x4CB);
     691AssertCompileMemberOffset(SVM_VMCB, guest.u64LASTEXCPTO,    0x690);
    678692
    679693#ifdef IN_RING0
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