Changeset 71152 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Feb 28, 2018 12:36:04 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/NEMInternal.h
r71136 r71152 61 61 } NEMWINIOCTL; 62 62 63 /** @name Windows: Our two-bit physical page state for PGMPAGE 64 * @{ */ 65 # define NEM_WIN_PAGE_STATE_NOT_SET 0 66 # define NEM_WIN_PAGE_STATE_UNMAPPED 1 67 # define NEM_WIN_PAGE_STATE_READABLE 2 68 # define NEM_WIN_PAGE_STATE_WRITABLE 3 69 /** @} */ 70 71 /** Windows: Checks if a_GCPhys is subject to the limited A20 gate emulation. */ 72 # define NEM_WIN_IS_SUBJECT_TO_A20(a_GCPhys) ((RTGCPHYS)((a_GCPhys) - _1M) < (RTGCPHYS)_64K) 73 /** Windows: Checks if a_GCPhys is relevant to the limited A20 gate emulation. */ 74 # define NEM_WIN_IS_RELEVANT_TO_A20(a_GCPhys) \ 75 ( ((RTGCPHYS)((a_GCPhys) - _1M) < (RTGCPHYS)_64K) || ((RTGCPHYS)(a_GCPhys) < (RTGCPHYS)_64K) ) 76 77 #endif /* RT_OS_WINDOWS */ 78 79 80 /** Trick to make slickedit see the static functions in the template. */ 81 #ifndef IN_SLICKEDIT 82 # define NEM_TMPL_STATIC static 83 #else 84 # define NEM_TMPL_STATIC 63 85 #endif 64 86 … … 277 299 int nemR3NativeNotifyPhysRomRegisterLate(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, uint32_t fFlags); 278 300 void nemR3NativeNotifySetA20(PVMCPU pVCpu, bool fEnabled); 279 /* NEMHCNotifyXxxx for ring-3: */ 280 void nemR3NativeNotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb); 281 void nemR3NativeNotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb, 301 #endif 302 303 void nemHCNativeNotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb); 304 void nemHCNativeNotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb, 282 305 int fRestoreAsRAM, bool fRestoreAsRAM2); 283 void nem R3NativeNotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld,306 void nemHCNativeNotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld, 284 307 RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fRestoreAsRAM); 285 int nem R3NativeNotifyPhysPageAllocated(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt,308 int nemHCNativeNotifyPhysPageAllocated(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 286 309 PGMPAGETYPE enmType, uint8_t *pu2State); 287 void nem R3NativeNotifyPhysPageProtChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt,310 void nemHCNativeNotifyPhysPageProtChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 288 311 PGMPAGETYPE enmType, uint8_t *pu2State); 289 void nem R3NativeNotifyPhysPageChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhysPrev, RTHCPHYS HCPhysNew, uint32_t fPageProt,312 void nemHCNativeNotifyPhysPageChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhysPrev, RTHCPHYS HCPhysNew, uint32_t fPageProt, 290 313 PGMPAGETYPE enmType, uint8_t *pu2State); 291 #endif292 314 293 315
Note:
See TracChangeset
for help on using the changeset viewer.