VirtualBox

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


Ignore:
Timestamp:
Oct 1, 2018 10:08:21 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Move hmR0VmxGetMsrPermission to the all-context code, will be used from IEM for
upcoming changes.

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

Legend:

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

    r74389 r74545  
    150150VMM_INT_DECL(int)               HMVmxEntryIntInfoInjectTrpmEvent(PVMCPU pVCpu, uint32_t uEntryIntInfo, uint32_t uErrCode,
    151151                                                                 uint32_t cbInstr, RTGCUINTPTR GCPtrFaultAddress);
     152VMM_INT_DECL(int)               HMVmxGetMsrPermission(void *pvMsrBitmap, uint32_t idMsr, PVMXMSREXITREAD penmRead,
     153                                                      PVMXMSREXITWRITE penmWrite);
    152154/** @} */
    153155
  • trunk/include/VBox/vmm/hm_vmx.h

    r74542 r74545  
    10511051/** @} */
    10521052
     1053/**
     1054 * VMX MSR-bitmap read permissions.
     1055 */
     1056typedef enum VMXMSREXITREAD
     1057{
     1058    /** Reading this MSR causes a VM-exit. */
     1059    VMXMSREXIT_INTERCEPT_READ = 1,
     1060    /** Reading this MSR doesn't cause a VM-exit. */
     1061    VMXMSREXIT_PASSTHRU_READ
     1062} VMXMSREXITREAD;
     1063/** Pointer to MSR-bitmap read permissions. */
     1064typedef VMXMSREXITREAD* PVMXMSREXITREAD;
     1065
     1066/**
     1067 * VMX MSR-bitmap write permissions.
     1068 */
     1069typedef enum VMXMSREXITWRITE
     1070{
     1071    /** Writing to this MSR causes a VM-exit. */
     1072    VMXMSREXIT_INTERCEPT_WRITE = 3,
     1073    /** Writing to this MSR does not cause a VM-exit. */
     1074    VMXMSREXIT_PASSTHRU_WRITE
     1075} VMXMSREXITWRITE;
     1076/** Pointer to MSR-bitmap write permissions. */
     1077typedef VMXMSREXITWRITE* PVMXMSREXITWRITE;
    10531078
    10541079/**
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