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

pdmdev.h File Reference


Detailed Description

PDM - Pluggable Device Manager, Devices.

Definition in file pdmdev.h.

#include <VBox/pdmqueue.h>
#include <VBox/pdmcritsect.h>
#include <VBox/pdmthread.h>
#include <VBox/pdmifs.h>
#include <VBox/pdmins.h>
#include <VBox/iom.h>
#include <VBox/tm.h>
#include <VBox/ssm.h>
#include <VBox/cfgm.h>
#include <VBox/dbgf.h>
#include <VBox/mm.h>
#include <VBox/err.h>
#include <VBox/pci.h>
#include <iprt/stdarg.h>

Go to the source code of this file.

Classes

struct  PDMAPICHLPGC
struct  PDMAPICHLPR0
struct  PDMAPICHLPR3
struct  PDMAPICREG
struct  PDMDEVHLPGC
struct  PDMDEVHLPR0
struct  PDMDEVINS
struct  PDMDEVREG
struct  PDMDEVREGCB
struct  PDMIOAPICHLPGC
struct  PDMIOAPICHLPR0
struct  PDMIOAPICHLPR3
struct  PDMIOAPICREG
struct  PDMPCIBUSREG
struct  PDMPCIHLPGC
struct  PDMPCIHLPR0
struct  PDMPCIHLPR3
struct  PDMPICHLPGC
struct  PDMPICHLPR0
struct  PDMPICHLPR3
struct  PDMPICREG
struct  PDMRTCHLP
struct  PDMRTCREG

Defines

#define PDM_APICHLPGC_VERSION   0x60010000
#define PDM_APICHLPR0_VERSION   0x60010000
#define PDM_APICHLPR3_VERSION   0xfd010000
#define PDM_APICREG_VERSION   0x70010000
#define PDM_DEVHLP_VERSION   0xf2050002
#define PDM_DEVHLPGC_VERSION   0xfb010000
#define PDM_DEVHLPR0_VERSION   0xfb010000
#define PDM_DEVINS_VERSION   0xf3010000
#define PDM_DEVREG_CB_VERSION   0xf4010000
#define PDM_DEVREG_VERSION   0xc0010000
#define PDM_IOAPICHLPGC_VERSION   0xfe010000
#define PDM_IOAPICHLPR0_VERSION   0xfe010000
#define PDM_IOAPICHLPR3_VERSION   0xff010000
#define PDM_IOAPICREG_VERSION   0x50010000
#define PDM_PCIBUSREG_VERSION   0xd0020000
#define PDM_PCIHLPGC_VERSION   0xe1010000
#define PDM_PCIHLPR0_VERSION   0xe1010000
#define PDM_PCIHLPR3_VERSION   0xf1020000
#define PDM_PICHLPGC_VERSION   0xfc010000
#define PDM_PICHLPR0_VERSION   0xfc010000
#define PDM_PICHLPR3_VERSION   0xf0010000
#define PDM_PICREG_VERSION   0xe0020000
#define PDM_RTCHLP_VERSION   0xf6010000
#define PDM_RTCREG_VERSION   0xfa010000
#define PDMDEV_ASSERT_EMT(pDevIns)   do { } while (0)
#define PDMDEV_ASSERT_OTHER(pDevIns)   do { } while (0)
#define PDMDEV_ASSERT_VMLOCK_OWNER(pDevIns)   do { } while (0)
#define PDMDEV_SET_ERROR(pDevIns, rc, pszError)   PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS, "%s", pszError)
#define PDMDEV_SET_RUNTIME_ERROR(pDevIns, fFatal, pszErrorID, pszError)   PDMDevHlpVMSetRuntimeError(pDevIns, fFatal, pszErrorID, "%s", pszError)
#define PDMDEVINS_2_GCPTR(pDevIns)   ( (GCPTRTYPE(PPDMDEVINS))((RTGCUINTPTR)(pDevIns)->pvInstanceDataGC - RT_OFFSETOF(PDMDEVINS, achInstanceData)) )
#define PDMDEVINS_2_R0PTR(pDevIns)   ( (R0PTRTYPE(PPDMDEVINS))((RTR0UINTPTR)(pDevIns)->pvInstanceDataR0 - RT_OFFSETOF(PDMDEVINS, achInstanceData)) )
#define PDMDEVINS_2_R3PTR(pDevIns)   ( (R3PTRTYPE(PPDMDEVINS))((RTHCUINTPTR)(pDevIns)->pvInstanceDataR3 - RT_OFFSETOF(PDMDEVINS, achInstanceData)) )
#define PDMIBASE_2_PDMDEV(pInterface)   ( (PPDMDEVINS)((char *)(pInterface) - RT_OFFSETOF(PDMDEVINS, IBase)) )
#define PDM_DEVREG_CLASS_ACPI   RT_BIT(15)
#define PDM_DEVREG_CLASS_ARCH   RT_BIT(0)
#define PDM_DEVREG_CLASS_ARCH_BIOS   RT_BIT(1)
#define PDM_DEVREG_CLASS_AUDIO   RT_BIT(13)
#define PDM_DEVREG_CLASS_BUS_ISA   RT_BIT(3)
#define PDM_DEVREG_CLASS_BUS_PCI   RT_BIT(2)
#define PDM_DEVREG_CLASS_BUS_USB   RT_BIT(14)
#define PDM_DEVREG_CLASS_DMA   RT_BIT(8)
#define PDM_DEVREG_CLASS_GRAPHICS   RT_BIT(10)
#define PDM_DEVREG_CLASS_INPUT   RT_BIT(4)
#define PDM_DEVREG_CLASS_MISC   RT_BIT(31)
#define PDM_DEVREG_CLASS_NETWORK   RT_BIT(12)
#define PDM_DEVREG_CLASS_PARALLEL   RT_BIT(17)
#define PDM_DEVREG_CLASS_PIC   RT_BIT(5)
#define PDM_DEVREG_CLASS_PIT   RT_BIT(6)
#define PDM_DEVREG_CLASS_RTC   RT_BIT(7)
#define PDM_DEVREG_CLASS_SERIAL   RT_BIT(16)
#define PDM_DEVREG_CLASS_STORAGE   RT_BIT(11)
#define PDM_DEVREG_CLASS_VMM_DEV   RT_BIT(9)
#define PDM_DEVREG_FLAGS_GC   0x00000001
#define PDM_DEVREG_FLAGS_GUEST_BITS_32   0x00000008
#define PDM_DEVREG_FLAGS_GUEST_BITS_32_64   0x00000018
#define PDM_DEVREG_FLAGS_GUEST_BITS_64   0x00000010
#define PDM_DEVREG_FLAGS_GUEST_BITS_MASK   0x00000018
#define PDM_DEVREG_FLAGS_HOST_BITS_MASK   0x00000006
#define PDM_DEVREG_FLAGS_PAE36   0x00000020
#define PDM_DEVREG_FLAGS_R0   0x00010000
IRQ Level for use with the *SetIrq APIs.
#define PDM_IRQ_LEVEL_FLIP_FLOP   (RT_BIT(1) | PDM_IRQ_LEVEL_HIGH)
#define PDM_IRQ_LEVEL_HIGH   RT_BIT(0)
#define PDM_IRQ_LEVEL_LOW   0

Typedefs

typedef RTUINT void RTUINT cbIn
typedef RTUINT void RTUINT
void RTUINT 
cbOut
typedef int iInstance
typedef unsigned iLUN
typedef RTGCINTPTR offDelta
typedef RTUINT void RTUINT
void RTUINT PRTUINT 
pcbOut
typedef int PCFGMNODE pCfgHandle
typedef PDMDEVREG const * PCPDMDEVREG
typedef const PDMRTCHLPPCPDMRTCHLP
typedef const PDMRTCREGPCPDMRTCREG
typedef FNPDMDEVATTACH * PFNPDMDEVATTACH
typedef FNPDMDEVCONSTRUCT * PFNPDMDEVCONSTRUCT
typedef FNPDMDEVDESTRUCT * PFNPDMDEVDESTRUCT
typedef FNPDMDEVDETACH * PFNPDMDEVDETACH
typedef FNPDMDEVINITCOMPLETE * PFNPDMDEVINITCOMPLETE
typedef FNPDMDEVIOCTL * PFNPDMDEVIOCTL
typedef FNPDMDEVPOWEROFF * PFNPDMDEVPOWEROFF
typedef FNPDMDEVPOWERON * PFNPDMDEVPOWERON
typedef FNPDMDEVQUERYINTERFACE * PFNPDMDEVQUERYINTERFACE
typedef FNPDMDEVRELOCATE * PFNPDMDEVRELOCATE
typedef FNPDMDEVRESET * PFNPDMDEVRESET
typedef FNPDMDEVRESUME * PFNPDMDEVRESUME
typedef FNPDMDEVSUSPEND * PFNPDMDEVSUSPEND
typedef unsigned PPDMIBASEppBase
typedef PDMAPICREGPPDMAPICREG
typedef PDMDEVREGPPDMDEVREG
typedef PDMIOAPICREGPPDMIOAPICREG
typedef PDMPCIBUSREGPPDMPCIBUSREG
typedef PDMPICREGPPDMPICREG
typedef PDMRTCHLPPPDMRTCHLP
typedef PDMRTCREGPPDMRTCREG
typedef RTUINT void * pvIn
typedef RTUINT void RTUINT void * pvOut
typedef uint32_t u32Version
typedef RTUINT uFunction

Functions

typedef DECLCALLBACK (void) FNPDMDEVRELOCATE(PPDMDEVINS pDevIns
typedef DECLCALLBACK (int) FNPDMDEVCONSTRUCT(PPDMDEVINS pDevIns
 DECLINLINE (int) PDMDeviceDBGFStop(PPDMDEVINS pDevIns
typedef GCPTRTYPE (const struct PDMDEVHLPGC *) PCPDMDEVHLPGC
typedef GCPTRTYPE (struct PDMDEVHLPGC *) PPDMDEVHLPGC
typedef GCPTRTYPE (const PDMIOAPICHLPGC *) PCPDMIOAPICHLPGC
typedef GCPTRTYPE (PDMAPICHLPR0 *) PPDMAPICHLPR0
typedef GCPTRTYPE (const PDMAPICHLPGC *) PCPDMAPICHLPGC
typedef GCPTRTYPE (PDMAPICHLPGC *) PPDMAPICHLPGC
typedef GCPTRTYPE (const PDMPICHLPGC *) PCPDMPICHLPGC
typedef GCPTRTYPE (PDMPICHLPGC *) PPDMPICHLPGC
typedef GCPTRTYPE (const PDMPCIHLPGC *) PCPDMPCIHLPGC
typedef GCPTRTYPE (PDMPCIHLPGC *) PPDMPCIHLPGC
typedef R0PTRTYPE (const struct PDMDEVHLPR0 *) PCPDMDEVHLPR0
typedef R0PTRTYPE (struct PDMDEVHLPR0 *) PPDMDEVHLPR0
typedef R0PTRTYPE (const PDMIOAPICHLPR0 *) PCPDMIOAPICHLPR0
typedef R0PTRTYPE (PDMAPICHLPGC *) PPDMIOAPICHLPR0
typedef R0PTRTYPE (const PDMAPICHLPR0 *) PCPDMAPICHLPR0
typedef R0PTRTYPE (const PDMPICHLPR0 *) PCPDMPICHLPR0
typedef R0PTRTYPE (PDMPICHLPR0 *) PPDMPICHLPR0
typedef R0PTRTYPE (const PDMPCIHLPR0 *) PCPDMPCIHLPR0
typedef R0PTRTYPE (PDMPCIHLPR0 *) PPDMPCIHLPR0
typedef R3PTRTYPE (const struct PDMDEVHLP *) PCPDMDEVHLP
typedef R3PTRTYPE (struct PDMDEVHLP *) PPDMDEVHLP
typedef R3PTRTYPE (const PDMIOAPICHLPR3 *) PCPDMIOAPICHLPR3
typedef R3PTRTYPE (PDMIOAPICHLPR3 *) PPDMIOAPICHLPR3
typedef R3PTRTYPE (const PDMAPICHLPR3 *) PCPDMAPICHLPR3
typedef R3PTRTYPE (PDMAPICHLPR3 *) PPDMAPICHLPR3
typedef R3PTRTYPE (const PDMPICHLPR3 *) PCPDMPICHLPR3
typedef R3PTRTYPE (PDMPICHLPR3 *) PPDMPICHLPR3
typedef R3PTRTYPE (const PDMPCIHLPR3 *) PCPDMPCIHLPR3
typedef R3PTRTYPE (PDMPCIHLPR3 *) PPDMPCIHLPR3

Variables

const char * pszFormat
 RT_SRC_POS_DECL


Generated by  Doxygen 1.6.0   Back to index