Changeset 70977 in vbox for trunk/include
- Timestamp:
- Feb 12, 2018 8:45:31 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120824
- Location:
- trunk/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm.h
r70948 r70977 49 49 * 50 50 * @param a_pVM The cross context VM structure. 51 * @ sa VM_IS_HM_OR_NEM_ENABLED, VM_IS_RAW_MODE_ENABLED,52 * HMIsEnabledNotMacro, HMR3IsEnabled51 * @deprecated Please use VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED, or 52 * VM_IS_HM_ENABLED instead. 53 53 * @internal 54 54 */ -
trunk/include/VBox/vmm/nem.h
r70956 r70977 53 53 54 54 VMMR3_INT_DECL(int) NEMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb); 55 VMMR3_INT_DECL(int) NEMR3NotifyPhysMmioExMap(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags );55 VMMR3_INT_DECL(int) NEMR3NotifyPhysMmioExMap(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags, void *pvMmio2); 56 56 VMMR3_INT_DECL(int) NEMR3NotifyPhysMmioExUnmap(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags); 57 57 /** @name Flags for NEMR3NotifyPhysMmioExMap and NEMR3NotifyPhysMmioExUnmap. … … 63 63 /** @} */ 64 64 65 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterEarly(PVM pVM, RTGCPHYS GCPhys, RT UINTcb, uint32_t fFlags);66 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterLate(PVM pVM, RTGCPHYS GCPhys, RT UINTcb, uint32_t fFlags);65 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterEarly(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags); 66 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterLate(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags); 67 67 /** @name Flags for NEMR3NotifyPhysRomRegisterEarly and NEMR3NotifyPhysRomRegisterLate. 68 68 * @{ */ … … 84 84 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld, 85 85 RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fRestoreAsRAM); 86 87 VMM_INT_DECL(int) NEMHCNotifyPhysPageAllocated(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 88 PGMPAGETYPE enmType, uint8_t *pu2State); 89 VMM_INT_DECL(void) NEMHCNotifyPhysPageProtChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 90 PGMPAGETYPE enmType, uint8_t *pu2State); 91 VMM_INT_DECL(void) NEMHCNotifyPhysPageChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhysPrev, RTHCPHYS HCPhysNew, 92 uint32_t fPageProt, PGMPAGETYPE enmType, uint8_t *pu2State); 93 /** @name NEM_PAGE_PROT_XXX - Page protection 94 * @{ */ 95 #define NEM_PAGE_PROT_NONE UINT32_C(0) /**< All access causes VM exits. */ 96 #define NEM_PAGE_PROT_READ RT_BIT(0) /**< Read access. */ 97 #define NEM_PAGE_PROT_EXECUTE RT_BIT(1) /**< Execute access. */ 98 #define NEM_PAGE_PROT_WRITE RT_BIT(2) /**< write access. */ 99 /** @} */ 100 86 101 /** @} */ 87 102 -
trunk/include/VBox/vmm/pgm.h
r69107 r70977 516 516 } PGMPAGETYPE; 517 517 AssertCompile(PGMPAGETYPE_END == 8); 518 519 /** @name PGM page type predicates. 520 * @{ */ 521 #define PGMPAGETYPE_IS_READABLE(a_enmType) ( (a_enmType) <= PGMPAGETYPE_ROM ) 522 #define PGMPAGETYPE_IS_WRITEABLE(a_enmType) ( (a_enmType) <= PGMPAGETYPE_ROM_SHADOW ) 523 #define PGMPAGETYPE_IS_RWX(a_enmType) ( (a_enmType) <= PGMPAGETYPE_ROM_SHADOW ) 524 #define PGMPAGETYPE_IS_ROX(a_enmType) ( (a_enmType) == PGMPAGETYPE_ROM ) 525 #define PGMPAGETYPE_IS_NP(a_enmType) ( (a_enmType) == PGMPAGETYPE_MMIO ) 526 /** @} */ 527 518 528 519 529 VMM_INT_DECL(PGMPAGETYPE) PGMPhysGetPageType(PVM pVM, RTGCPHYS GCPhys); -
trunk/include/VBox/vmm/vm.h
r70953 r70977 965 965 * 966 966 * @param a_pVM The cross context VM structure. 967 * @sa HMR3IsEnabled, HMIsEnabled967 * @sa VM_IS_HM_OR_NEM_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED. 968 968 * @internal 969 969 */ … … 981 981 * 982 982 * @param a_pVM The cross context VM structure. 983 * @sa VM_IS_RAW_MODE_ENABLED, HMIsEnabled, HMR3IsEnabled983 * @sa VM_IS_RAW_MODE_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED. 984 984 * @internal 985 985 */ 986 986 #define VM_IS_HM_OR_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_RAW_MODE) 987 988 /** 989 * Checks whether HM is being used by this VM. 990 * 991 * @retval true if HM (VT-x/AMD-v) is used. 992 * @retval false if not. 993 * 994 * @param a_pVM The cross context VM structure. 995 * @sa VM_IS_NEM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED. 996 * @internal 997 */ 998 #define VM_IS_HM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_HW_VIRT) 999 1000 /** 1001 * Checks whether NEM is being used by this VM. 1002 * 1003 * @retval true if a native hypervisor API is used. 1004 * @retval false if not. 1005 * 1006 * @param a_pVM The cross context VM structure. 1007 * @sa VM_IS_HM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED. 1008 * @internal 1009 */ 1010 #define VM_IS_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_NATIVE_API) 987 1011 988 1012 -
trunk/include/iprt/nt/nt.h
r70873 r70977 137 137 # pragma warning(pop) 138 138 139 # ifndef OBJ_DONT_REPARSE 140 # define RTNT_NEED_CLIENT_ID 141 # endif 139 142 140 143 # undef _FILE_INFORMATION_CLASS … … 503 506 504 507 505 #ifdef IPRT_NT_USE_WINTERNL508 #ifdef RTNT_NEED_CLIENT_ID 506 509 typedef struct _CLIENT_ID 507 510 { … … 509 512 HANDLE UniqueThread; 510 513 } CLIENT_ID; 514 #endif 515 #ifdef IPRT_NT_USE_WINTERNL 511 516 typedef CLIENT_ID *PCLIENT_ID; 512 517 #endif -
trunk/include/iprt/win/windows.h
r69105 r70977 35 35 # pragma warning(push) 36 36 # pragma warning(disable:4668) 37 # pragma warning(disable:4480) /* W10/wincrypt.h(9193) : warning C4480: nonstandard extension used: specifying underlying type for enum 'CertKeyType' */ 37 38 # if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/ 38 39 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */
Note:
See TracChangeset
for help on using the changeset viewer.