VirtualBox

Changeset 14580 in vbox for trunk/include


Ignore:
Timestamp:
Nov 25, 2008 4:03:04 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39880
Message:

Some updates

File:
1 edited

Legend:

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

    r14557 r14580  
    886886 * @{
    887887 */
    888 #define VMX_VMCS_RO_VM_INSTR_ERROR                              0x4400
    889 #define VMX_VMCS_RO_EXIT_REASON                                 0x4402
    890 #define VMX_VMCS_RO_EXIT_INTERRUPTION_INFO                      0x4404
    891 #define VMX_VMCS_RO_EXIT_INTERRUPTION_ERRCODE                   0x4406
    892 #define VMX_VMCS_RO_IDT_INFO                                    0x4408
    893 #define VMX_VMCS_RO_IDT_ERRCODE                                 0x440A
    894 #define VMX_VMCS_RO_EXIT_INSTR_LENGTH                           0x440C
    895 #define VMX_VMCS_RO_EXIT_INSTR_INFO                             0x440E
     888#define VMX_VMCS32_RO_VM_INSTR_ERROR                              0x4400
     889#define VMX_VMCS32_RO_EXIT_REASON                                 0x4402
     890#define VMX_VMCS32_RO_EXIT_INTERRUPTION_INFO                      0x4404
     891#define VMX_VMCS32_RO_EXIT_INTERRUPTION_ERRCODE                   0x4406
     892#define VMX_VMCS32_RO_IDT_INFO                                    0x4408
     893#define VMX_VMCS32_RO_IDT_ERRCODE                                 0x440A
     894#define VMX_VMCS32_RO_EXIT_INSTR_LENGTH                           0x440C
     895#define VMX_VMCS32_RO_EXIT_INSTR_INFO                             0x440E
    896896/** @} */
    897897
     
    15431543#if HC_ARCH_BITS == 64
    15441544    uint64_t uLastError = 0;
    1545     int rc = VMXReadVMCS(VMX_VMCS_RO_VM_INSTR_ERROR, &uLastError);
     1545    int rc = VMXReadVMCS(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
    15461546    AssertRC(rc);
    15471547    return (uint32_t)uLastError;
     
    15491549#else /* 32-bit host: */
    15501550    uint32_t uLastError = 0;
    1551     int rc = VMXReadVMCS32(VMX_VMCS_RO_VM_INSTR_ERROR, &uLastError);
     1551    int rc = VMXReadVMCS32(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
    15521552    AssertRC(rc);
    15531553    return uLastError;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette