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

pdmdrv.h File Reference


Detailed Description

PDM - Pluggable Device Manager, Drivers. (VMM)

Definition in file pdmdrv.h.

#include <VBox/pdmqueue.h>
#include <VBox/pdmcritsect.h>
#include <VBox/pdmthread.h>
#include <VBox/pdmifs.h>
#include <VBox/pdmins.h>
#include <VBox/pdmcommon.h>
#include <VBox/pdmasynccompletion.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 <iprt/stdarg.h>

Go to the source code of this file.

Classes

struct  PDMDRVHLPR0
struct  PDMDRVHLPRC
struct  PDMDRVINS
struct  PDMDRVREG
struct  PDMUSBHUBHLP
struct  PDMUSBHUBREG

Defines

#define PDM_DRVHLPR0_VERSION   PDM_VERSION_MAKE(0xf0f8, 1, 0)
#define PDM_DRVHLPRC_VERSION   PDM_VERSION_MAKE(0xf0f9, 1, 0)
#define PDM_DRVINS_VERSION   PDM_VERSION_MAKE(0xf0fe, 1, 0)
#define PDM_DRVREG_VERSION   PDM_VERSION_MAKE(0xf0ff, 1, 0)
#define PDM_USBHUBHLP_VERSION   PDM_VERSION_MAKE(0xf0fc, 1, 0)
#define PDM_USBHUBREG_VERSION   PDM_VERSION_MAKE(0xf0fd, 1, 0)
#define PDMDRV_ASSERT_EMT(pDrvIns)   do { } while (0)
#define PDMDRV_ASSERT_OTHER(pDrvIns)   do { } while (0)
#define PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns)
#define PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns)
#define PDMDRV_SET_ERROR(pDrvIns, rc, pszError)   PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, "%s", pszError)
#define PDMDRV_SET_RUNTIME_ERROR(pDrvIns, fFlags, pszErrorId, pszError)   PDMDrvHlpVMSetRuntimeError(pDrvIns, fFlags, pszErrorId, "%s", pszError)
#define PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, pszValidValues, pszValidNodes)
#define PDMDRVINS_2_R0PTR(pDrvIns)   ( (R0PTRTYPE(PPDMDRVINS))((RTR0UINTPTR)(pDrvIns)->pvInstanceDataR0 - RT_OFFSETOF(PDMDRVINS, achInstanceData)) )
#define PDMDRVINS_2_R3PTR(pDrvIns)   ( (R3PTRTYPE(PPDMDRVINS))((RTHCUINTPTR)(pDrvIns)->pvInstanceDataR3 - RT_OFFSETOF(PDMDRVINS, achInstanceData)) )
#define PDMDRVINS_2_RCPTR(pDrvIns)   ( (RCPTRTYPE(PPDMDRVINS))((RTGCUINTPTR)(pDrvIns)->pvInstanceDataRC - RT_OFFSETOF(PDMDRVINS, achInstanceData)) )
#define PDMIBASE_2_PDMDRV(pInterface)   ( (PPDMDRVINS)((char *)(pInterface) - RT_OFFSETOF(PDMDRVINS, IBase)) )
#define PDM_DRVREG_CLASS_ACPI   RT_BIT(10)
#define PDM_DRVREG_CLASS_AUDIO   RT_BIT(7)
#define PDM_DRVREG_CLASS_BLOCK   RT_BIT(4)
#define PDM_DRVREG_CLASS_CHAR   RT_BIT(13)
#define PDM_DRVREG_CLASS_DISPLAY   RT_BIT(2)
#define PDM_DRVREG_CLASS_ISCSITRANSPORT   RT_BIT(12)
#define PDM_DRVREG_CLASS_KEYBOARD   RT_BIT(1)
#define PDM_DRVREG_CLASS_MEDIA   RT_BIT(5)
#define PDM_DRVREG_CLASS_MOUNTABLE   RT_BIT(6)
#define PDM_DRVREG_CLASS_MOUSE   RT_BIT(0)
#define PDM_DRVREG_CLASS_NETWORK   RT_BIT(3)
#define PDM_DRVREG_CLASS_SCSI   RT_BIT(15)
#define PDM_DRVREG_CLASS_STATUS   RT_BIT(9)
#define PDM_DRVREG_CLASS_STREAM   RT_BIT(14)
#define PDM_DRVREG_CLASS_USB   RT_BIT(11)
#define PDM_DRVREG_CLASS_VMMDEV   RT_BIT(8)
#define PDM_DRVREG_FLAGS_HOST_BITS_MASK   UINT32_C(0x00000003)
#define PDM_DRVREG_FLAGS_R0   UINT32_C(0x00000020)
#define PDM_DRVREG_FLAGS_RC   UINT32_C(0x00000010)

Typedefs

typedef uint32_t void uint32_t cbIn
typedef uint32_t void uint32_t
void uint32_t 
cbOut
typedef PCFGMNODE uint32_t fFlags
typedef RTGCINTPTR offDelta
typedef uint32_t void uint32_t
void uint32_t uint32_t * 
pcbOut
typedef PCFGMNODE pCfg
typedef PDMDRVREG const * PCPDMDRVREG
typedef const PDMUSBHUBHLPPCPDMUSBHUBHLP
typedef const PDMUSBHUBREGPCPDMUSBHUBREG
typedef FNPDMDRVATTACH * PFNPDMDRVATTACH
typedef FNPDMDRVCONSTRUCT * PFNPDMDRVCONSTRUCT
typedef FNPDMDRVDESTRUCT * PFNPDMDRVDESTRUCT
typedef FNPDMDRVDETACH * PFNPDMDRVDETACH
typedef FNPDMDRVIOCTL * PFNPDMDRVIOCTL
typedef FNPDMDRVPOWEROFF * PFNPDMDRVPOWEROFF
typedef FNPDMDRVPOWERON * PFNPDMDRVPOWERON
typedef FNPDMDRVRELOCATE * PFNPDMDRVRELOCATE
typedef FNPDMDRVRESET * PFNPDMDRVRESET
typedef FNPDMDRVRESUME * PFNPDMDRVRESUME
typedef FNPDMDRVSUSPEND * PFNPDMDRVSUSPEND
typedef PCPDMUSBHUBHLPPPCPDMUSBHUBHLP
typedef PDMDRVREGPPDMDRVREG
typedef PDMUSBHUBHLPPPDMUSBHUBHLP
typedef uint32_t void * pvIn
typedef uint32_t void uint32_t
void * 
pvOut
typedef uint32_t uFunction

Functions

typedef DECLCALLBACK (void) FNPDMDRVDESTRUCT(PPDMDRVINS pDrvIns)
typedef DECLCALLBACK (int) FNPDMDRVCONSTRUCT(PPDMDRVINS pDrvIns
 DECLINLINE (int) PDMDrvHlpVMSetError(PPDMDRVINS pDrvIns
typedef R0PTRTYPE (struct PDMDRVHLPR0 const *) PCPDMDRVHLPR0
typedef R3PTRTYPE (struct PDMDRVHLPR3 const *) PCPDMDRVHLPR3
typedef RCPTRTYPE (struct PDMDRVHLPRC const *) PCPDMDRVHLPRC

Variables

const int const char * pszFormat
const int rc
const int RT_SRC_POS_DECL


Generated by  Doxygen 1.6.0   Back to index