Changeset 32302 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Sep 8, 2010 9:21:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/internal/pgm.h
r32245 r32302 21 21 #include <VBox/pgm.h> 22 22 23 /** @defgroup grp_pgm_int Internals 24 * @ingroup grp_pgm 25 * @internal 26 * @{ 27 */ 28 29 /** 30 * Page type. 31 * 32 * @remarks This enum has to fit in a 3-bit field (see PGMPAGE::u3Type). 33 * @remarks This is used in the saved state, so changes to it requires bumping 34 * the saved state version. 35 * @todo So, convert to \#defines! 36 */ 37 typedef enum PGMPAGETYPE 38 { 39 /** The usual invalid zero entry. */ 40 PGMPAGETYPE_INVALID = 0, 41 /** RAM page. (RWX) */ 42 PGMPAGETYPE_RAM, 43 /** MMIO2 page. (RWX) */ 44 PGMPAGETYPE_MMIO2, 45 /** MMIO2 page aliased over an MMIO page. (RWX) 46 * See PGMHandlerPhysicalPageAlias(). */ 47 PGMPAGETYPE_MMIO2_ALIAS_MMIO, 48 /** Shadowed ROM. (RWX) */ 49 PGMPAGETYPE_ROM_SHADOW, 50 /** ROM page. (R-X) */ 51 PGMPAGETYPE_ROM, 52 /** MMIO page. (---) */ 53 PGMPAGETYPE_MMIO, 54 /** End of valid entries. */ 55 PGMPAGETYPE_END 56 } PGMPAGETYPE; 57 AssertCompile(PGMPAGETYPE_END <= 7); 58 59 VMMDECL(PGMPAGETYPE) PGMPhysGetPageType(PVM pVM, RTGCPHYS GCPhys); 60 23 61 VMMDECL(int) PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys); 24 62 VMMDECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys); … … 32 70 #endif 33 71 VMMR3DECL(void) PGMR3ResetNoMorePhysWritesFlag(PVM pVM); 72 73 /** @} */ 34 74 #endif 75
Note:
See TracChangeset
for help on using the changeset viewer.