VirtualBox

Changeset 70266 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Dec 21, 2017 11:43:15 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HM: Added dumping of SVM VMCB state save area.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm.h

    r69764 r70266  
    264264VMMR3_INT_DECL(bool)            HMR3IsVmxPreemptionTimerUsed(PVM pVM);
    265265VMMR3_INT_DECL(void)            HMR3InfoSvmVmcbCtrl(PCDBGFINFOHLP pHlp, PCSVMVMCBCTRL pVmcbCtrl, const char *pszPrefix);
     266VMMR3_INT_DECL(void)            HMR3InfoSvmVmcbStateSave(PCDBGFINFOHLP pHlp, PCSVMVMCBSTATESAVE pVmcbStateSave, const char *pszPrefix);
    266267/** @} */
    267268#endif /* IN_RING3 */
  • trunk/include/VBox/vmm/hm_svm.h

    r70264 r70266  
    480480
    481481/**
    482  * SVM Selector type; includes hidden parts.
     482 * SVM selector/segment register type.
    483483 */
    484484typedef struct
     
    488488    uint32_t    u32Limit;
    489489    uint64_t    u64Base;        /**< Only lower 32 bits are implemented for CS, DS, ES & SS. */
    490 } SVMSEL;
    491 AssertCompileSize(SVMSEL, 16);
     490} SVMSELREG;
     491AssertCompileSize(SVMSELREG, 16);
     492/** Pointer to the SVMSELREG struct. */
     493typedef SVMSELREG *PSVMSELREG;
     494/** Pointer to a const SVMSELREG struct. */
     495typedef const SVMSELREG *PCSVMSELREG;
    492496
    493497/**
     
    500504    uint32_t    u32Limit;       /**< Only lower 16 bits are implemented. */
    501505    uint64_t    u64Base;
    502 } SVMGDTR;
    503 AssertCompileSize(SVMGDTR, 16);
    504 typedef SVMGDTR SVMIDTR;
     506} SVMXDTR;
     507AssertCompileSize(SVMXDTR, 16);
     508typedef SVMXDTR SVMIDTR;
     509typedef SVMXDTR SVMGDTR;
     510/** Pointer to the SVMXDTR struct. */
     511typedef SVMXDTR *PSVMXDTR;
     512/** Pointer to a const SVMXDTR struct. */
     513typedef const SVMXDTR *PCSVMXDTR;
     514
    505515
    506516/**
     
    794804{
    795805    /** Offset 0x400 - Guest ES register + hidden parts. */
    796     SVMSEL      ES;
     806    SVMSELREG   ES;
    797807    /** Offset 0x410 - Guest CS register + hidden parts. */
    798     SVMSEL      CS;
     808    SVMSELREG   CS;
    799809    /** Offset 0x420 - Guest SS register + hidden parts. */
    800     SVMSEL      SS;
     810    SVMSELREG   SS;
    801811    /** Offset 0x430 - Guest DS register + hidden parts. */
    802     SVMSEL      DS;
     812    SVMSELREG   DS;
    803813    /** Offset 0x440 - Guest FS register + hidden parts. */
    804     SVMSEL      FS;
     814    SVMSELREG   FS;
    805815    /** Offset 0x450 - Guest GS register + hidden parts. */
    806     SVMSEL      GS;
     816    SVMSELREG   GS;
    807817    /** Offset 0x460 - Guest GDTR register. */
    808818    SVMGDTR     GDTR;
    809819    /** Offset 0x470 - Guest LDTR register + hidden parts. */
    810     SVMSEL      LDTR;
     820    SVMSELREG   LDTR;
    811821    /** Offset 0x480 - Guest IDTR register. */
    812822    SVMIDTR     IDTR;
    813823    /** Offset 0x490 - Guest TR register + hidden parts. */
    814     SVMSEL      TR;
     824    SVMSELREG   TR;
    815825    /** Offset 0x4A0-0x4CA - Reserved. */
    816826    uint8_t     u8Reserved4[0x4CB - 0x4A0];
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