Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

pgm.h File Reference


Detailed Description

PGM - Page Monitor/Monitor.

Definition in file pgm.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/sup.h>
#include <VBox/vmapi.h>
#include <VBox/x86.h>

Go to the source code of this file.

Classes

struct  PGMPAGEMAPLOCK

Defines

#define PGM_DYNAMIC_CHUNK_BASE_MASK   (~(RTGCPHYS)PGM_DYNAMIC_CHUNK_OFFSET_MASK)
#define PGM_DYNAMIC_CHUNK_OFFSET_MASK   0xfffff
#define PGM_DYNAMIC_CHUNK_SHIFT   20
#define PGM_DYNAMIC_CHUNK_SIZE   (1*1024*1024)
#define PGMROMPROT_IS_ROM(enmProt)
#define PGMPAGE_NOTPRESENT   16
#define PGMPAGE_READ   1
#define PGMPAGE_SYSTEM   8
#define PGMPAGE_USER   4
#define PGMPAGE_WRITE   2

Typedefs

typedef RTGCPHYS void void size_t cbBuf
typedef RTGCPHYS void void
size_t PGMACCESSTYPE 
enmAccessType
typedef RTGCPTR RTGCPTR
PGMRELOCATECALL 
enmMode
typedef RTGCPHYS GCPhys
typedef RTGCUINT PCPUMCTXCORE
RTGCPTR RTGCPHYS 
GCPhysFault
typedef RTGCPTR GCPtr
typedef RTGCPTR RTGCPTR GCPtrNew
typedef RTGCPTR GCPtrOld
typedef RTGCUINT PCPUMCTXCORE
RTGCPTR RTGCPTR uintptr_t 
offRange
typedef FNPGMGCPHYSHANDLER * PFNPGMGCPHYSHANDLER
typedef FNPGMGCVIRTHANDLER * PFNPGMGCVIRTHANDLER
typedef FNPGMHCVIRTHANDLER * PFNPGMHCVIRTHANDLER
typedef FNPGMHCVIRTINVALIDATE * PFNPGMHCVIRTINVALIDATE
typedef FNPGMR0PHYSHANDLER * PFNPGMR0PHYSHANDLER
typedef FNPGMR3PHYSHANDLER * PFNPGMR3PHYSHANDLER
typedef FNPGMRELOCATE * PFNPGMRELOCATE
typedef PGMPAGEMAPLOCKPPGMPAGEMAPLOCK
typedef RTGCUINT PCPUMCTXCORE pRegFrame
typedef RTGCPHYS void void * pvBuf
typedef RTGCUINT PCPUMCTXCORE
RTGCPTR 
pvFault
typedef RTGCPHYS void * pvPhys
typedef RTGCPTR void * pvPtr
typedef RTGCUINT PCPUMCTXCORE
RTGCPTR RTGCPTR 
pvRange
typedef RTGCPTR RTGCPTR
PGMRELOCATECALL void * 
pvUser
typedef RTGCUINT uErrorCode

Enumerations

enum  PGMACCESSTYPE { PGMACCESSTYPE_READ = 1, PGMACCESSTYPE_WRITE }
enum  PGMMODE {
  PGMMODE_INVALID = 0, PGMMODE_REAL, PGMMODE_PROTECTED, PGMMODE_32_BIT,
  PGMMODE_PAE, PGMMODE_PAE_NX, PGMMODE_AMD64, PGMMODE_AMD64_NX,
  PGMMODE_NESTED, PGMMODE_MAX, PGMMODE_32BIT_HACK = 0x7fffffff
}
enum  PGMRELOCATECALL { PGMRELOCATECALL_SUGGEST = 1, PGMRELOCATECALL_RELOCATE }
enum  PGMROMPROT {
  PGMROMPROT_INVALID = 0, PGMROMPROT_READ_ROM_WRITE_IGNORE, PGMROMPROT_READ_ROM_WRITE_RAM, PGMROMPROT_READ_RAM_WRITE_IGNORE,
  PGMROMPROT_READ_RAM_WRITE_RAM, PGMROMPROT_END, PGMROMPROT_32BIT_HACK = 0x7fffffff
}
enum  PGMVIRTHANDLERTYPE { PGMVIRTHANDLERTYPE_WRITE = 1, PGMVIRTHANDLERTYPE_ALL, PGMVIRTHANDLERTYPE_HYPERVISOR }
enum  PGMPHYSHANDLERTYPE { PGMPHYSHANDLERTYPE_MMIO = 1, PGMPHYSHANDLERTYPE_PHYSICAL_WRITE, PGMPHYSHANDLERTYPE_PHYSICAL_ALL }

Functions

typedef DECLCALLBACK (int) FNPGMGCPHYSHANDLER(PVM pVM
typedef DECLCALLBACK (bool) FNPGMRELOCATE(PVM pVM
 DECLINLINE (bool) PGMPhysIsPageMappingLockValid(PVM pVM
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR RTR0PTR 
GCPTRTYPE (PFNPGMGCPHYSHANDLER) pfnHandlerGC
 PDMDECL (void) PGMPhysInvalidatePageGCMapTLB(PVM pVM)
 PGMDECL (void) PGMPhysReleasePageMappingLock(PVM pVM
 PGMDECL (const char *) PGMGetModeName(PGMMODE enmMode)
 PGMDECL (PGMMODE) PGMGetGuestMode(PVM pVM)
 PGMDECL (bool) PGMGstIsPagePresent(PVM pVM
 PGMDECL (int) PGMTrap0eHandler(PVM pVM
 PGMDECL (uint32_t) PGMGetHyperCR3(PVM pVM)
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR 
R0PTRTYPE (PFNPGMR0PHYSHANDLER) pfnHandlerR0
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR RTR0PTR
RTGCPTR 
R3PTRTYPE (const char *) pszDesc)
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS 
R3PTRTYPE (PFNPGMR3PHYSHANDLER) pfnHandlerR3

Variables

RTGCUINTPTR Addr
RTGCPTR uint64_t cb
RTGCUINTPTR RTHCPHYS uint32_t cbPages
RTGCPHYS void size_t cbRead
RTGCUINTPTR uint32_t cbSize
RTGCPHYS const void size_t cbWrite
uint64_t cr0
uint64_t cr3
uint64_t uint64_t uint64_t cr4
uint64_t uint64_t uint64_t efer
PGMMODE enmShadowMode
PGMPHYSHANDLERTYPE enmType
RTGCUINTPTR uint32_t uint32_t fAccess
RTGCUINTPTR RTHCPHYS uint32_t
unsigned 
fFlags
uint64_t bool fGlobal
RTGCPTR size_t uint64_t uint64_t fMask
RTGCPHYS GCPhys1
RTGCPHYS RTGCPHYS GCPhys2
RTGCPHYS GCPhysCurrent
RTGCPHYS GCPhysDst
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS 
GCPhysLast
RTGCPHYS RTGCPHYS GCPhysPage
RTGCPHYS RTGCPHYS GCPhysSplit
void RTGCPHYS GCPhysSrc
RTGCPTR GCPtrDst
RTGCPTR GCPtrPage
void RTGCPTR GCPtrSrc
RTGCUINTPTR RTHCPHYS HCPhys
PCPUMCTXCORE pCtxCore
RTGCPTR uint64_t * pfFlags
RTGCPTR uint64_t PRTGCPHYS pGCPhys
RTGCPTR uint64_t PRTHCPHYS pHCPhys
RTGCPTR PRTHCPTR pHCPtr
RTGCPHYS void PPGMPAGEMAPLOCK pLock
RTGCUINTPTR64 PX86PDPAEppPD
RTGCPHYS void ** ppv
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR RTR0PTR
RTGCPTR 
pvUserGC
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR RTR0PTR 
pvUserR0
PGMPHYSHANDLERTYPE RTGCPHYS
RTGCPHYS RTR3PTR 
pvUserR3
RTGCUINT uErr
R3 DevHlp
void * pvDst
RTGCPHYS const void * pvSrc


Generated by  Doxygen 1.6.0   Back to index