Changeset 56411 in vbox for trunk/include/VBox
- Timestamp:
- Jun 14, 2015 3:41:43 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101013
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pgm.h
r56384 r56411 368 368 369 369 370 371 370 VMMDECL(bool) PGMIsLockOwner(PVM pVM); 372 371 … … 466 465 VMM_INT_DECL(bool) PGMHandlerVirtualIsRegistered(PVM pVM, RTGCPTR GCPtr); 467 466 #endif 467 468 469 /** 470 * Page type. 471 * 472 * @remarks This enum has to fit in a 3-bit field (see PGMPAGE::u3Type). 473 * @remarks This is used in the saved state, so changes to it requires bumping 474 * the saved state version. 475 * @todo So, convert to \#defines! 476 */ 477 typedef enum PGMPAGETYPE 478 { 479 /** The usual invalid zero entry. */ 480 PGMPAGETYPE_INVALID = 0, 481 /** RAM page. (RWX) */ 482 PGMPAGETYPE_RAM, 483 /** MMIO2 page. (RWX) */ 484 PGMPAGETYPE_MMIO2, 485 /** MMIO2 page aliased over an MMIO page. (RWX) 486 * See PGMHandlerPhysicalPageAlias(). */ 487 PGMPAGETYPE_MMIO2_ALIAS_MMIO, 488 /** Special page aliased over an MMIO page. (RWX) 489 * See PGMHandlerPhysicalPageAliasHC(), but this is generally only used for 490 * VT-x's APIC access page at the moment. Treated as MMIO by everyone except 491 * the shadow paging code. */ 492 PGMPAGETYPE_SPECIAL_ALIAS_MMIO, 493 /** Shadowed ROM. (RWX) */ 494 PGMPAGETYPE_ROM_SHADOW, 495 /** ROM page. (R-X) */ 496 PGMPAGETYPE_ROM, 497 /** MMIO page. (---) */ 498 PGMPAGETYPE_MMIO, 499 /** End of valid entries. */ 500 PGMPAGETYPE_END 501 } PGMPAGETYPE; 502 AssertCompile(PGMPAGETYPE_END == 8); 503 504 VMM_INT_DECL(PGMPAGETYPE) PGMPhysGetPageType(PVM pVM, RTGCPHYS GCPhys); 505 506 VMM_INT_DECL(int) PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys); 507 VMM_INT_DECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys); 508 VMM_INT_DECL(int) PGMPhysGCPhys2CCPtr(PVM pVM, RTGCPHYS GCPhys, void **ppv, PPGMPAGEMAPLOCK pLock); 509 VMM_INT_DECL(int) PGMPhysGCPhys2CCPtrReadOnly(PVM pVM, RTGCPHYS GCPhys, void const **ppv, PPGMPAGEMAPLOCK pLock); 510 VMM_INT_DECL(int) PGMPhysGCPtr2CCPtr(PVMCPU pVCpu, RTGCPTR GCPtr, void **ppv, PPGMPAGEMAPLOCK pLock); 511 VMM_INT_DECL(int) PGMPhysGCPtr2CCPtrReadOnly(PVMCPU pVCpu, RTGCPTR GCPtr, void const **ppv, PPGMPAGEMAPLOCK pLock); 468 512 469 513 VMMDECL(bool) PGMPhysIsA20Enabled(PVMCPU pVCpu); … … 634 678 VMMR3DECL(void) PGMR3ResetCpu(PVM pVM, PVMCPU pVCpu); 635 679 VMMR3_INT_DECL(void) PGMR3Reset(PVM pVM); 680 VMMR3_INT_DECL(void) PGMR3ResetNoMorePhysWritesFlag(PVM pVM); 636 681 VMMR3_INT_DECL(void) PGMR3MemSetup(PVM pVM, bool fReset); 637 682 VMMR3DECL(int) PGMR3Term(PVM pVM);
Note:
See TracChangeset
for help on using the changeset viewer.