- Timestamp:
- Feb 10, 2018 8:21:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/nem.h
r70947 r70956 29 29 #include <VBox/types.h> 30 30 #include <VBox/vmm/vmapi.h> 31 #include <VBox/vmm/pgm.h> 31 32 32 33 … … 38 39 */ 39 40 40 /** @defgroup grp_ hm_r3 The HM ring-3 Context API41 /** @defgroup grp_nem_r3 The NEM ring-3 Context API 41 42 * @{ 42 43 */ 43 44 VMMR3_INT_DECL(int) NEMR3InitConfig(PVM pVM); 44 VMMR3_INT_DECL(int) NEMR3Init(PVM pVM, bool fFallback, bool f HMForced);45 VMMR3_INT_DECL(int) NEMR3Init(PVM pVM, bool fFallback, bool fForced); 45 46 VMMR3_INT_DECL(int) NEMR3InitAfterCPUM(PVM pVM); 46 47 #ifdef IN_RING3 … … 50 51 VMMR3_INT_DECL(void) NEMR3Reset(PVM pVM); 51 52 VMMR3_INT_DECL(void) NEMR3ResetCpu(PVMCPU pVCpu); 53 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); 56 VMMR3_INT_DECL(int) NEMR3NotifyPhysMmioExUnmap(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags); 57 /** @name Flags for NEMR3NotifyPhysMmioExMap and NEMR3NotifyPhysMmioExUnmap. 58 * @{ */ 59 /** Set if it's MMIO2 being mapped or unmapped. */ 60 #define NEM_NOTIFY_PHYS_MMIO_EX_F_MMIO2 RT_BIT(0) 61 /** Set if the range is replacing RAM rather that unused space. */ 62 #define NEM_NOTIFY_PHYS_MMIO_EX_F_REPLACE RT_BIT(1) 63 /** @} */ 64 65 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterEarly(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, uint32_t fFlags); 66 VMMR3_INT_DECL(int) NEMR3NotifyPhysRomRegisterLate(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, uint32_t fFlags); 67 /** @name Flags for NEMR3NotifyPhysRomRegisterEarly and NEMR3NotifyPhysRomRegisterLate. 68 * @{ */ 69 /** Set if the range is replacing RAM rather that unused space. */ 70 #define NEM_NOTIFY_PHYS_ROM_F_REPLACE RT_BIT(1) 71 /** Set if it's MMIO2 being mapped or unmapped. */ 72 #define NEM_NOTIFY_PHYS_ROM_F_SHADOW RT_BIT(2) 73 /** @} */ 74 75 VMMR3_INT_DECL(void) NEMR3NotifySetA20(PVMCPU pVCpu, bool fEnabled); 76 /** @} */ 77 78 /** @defgroup grp_nem_hc The NEM host context API 79 * @{ 80 */ 81 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb); 82 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb, 83 int fRestoreAsRAM, bool fRestoreAsRAM2); 84 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld, 85 RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fRestoreAsRAM); 52 86 /** @} */ 53 87
Note:
See TracChangeset
for help on using the changeset viewer.