VirtualBox

Changeset 32302 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Sep 8, 2010 9:21:30 AM (14 years ago)
Author:
vboxsync
Message:

FTM statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/internal/pgm.h

    r32245 r32302  
    2121#include <VBox/pgm.h>
    2222
     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 */
     37typedef 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;
     57AssertCompile(PGMPAGETYPE_END <= 7);
     58
     59VMMDECL(PGMPAGETYPE) PGMPhysGetPageType(PVM pVM, RTGCPHYS GCPhys);
     60
    2361VMMDECL(int)        PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys);
    2462VMMDECL(int)        PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys);
     
    3270#endif
    3371VMMR3DECL(void)     PGMR3ResetNoMorePhysWritesFlag(PVM pVM);
     72
     73/** @} */
    3474#endif
     75
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette