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

Classes | Defines | Typedefs | Enumerations | Functions

types.h File Reference

#include <VBox/cdefs.h>
#include <iprt/types.h>
Include dependency graph for types.h:

Go to the source code of this file.

Classes

struct  PDMDATASEG
struct  PDMNETWORKGSO
struct  PGMPAGEMAPLOCK
struct  VBOXGDTR
struct  VBOXGDTR_VER1_6
union  VBOXIDTE
struct  VBOXIDTE_GENERIC
struct  VBOXIDTE_INTERRUPTGATE
struct  VBOXIDTE_TASKGATE
struct  VBOXIDTE_TRAPGATE
struct  VBOXIDTR
struct  VBOXIDTR_VER1_6
struct  VBOXTSS
struct  VMCPUSET

Defines

#define PGMPAGEMAPLOCK_TYPE_MASK   ((uintptr_t)1)
#define PGMPAGEMAPLOCK_TYPE_READ   ((uintptr_t)0)
#define PGMPAGEMAPLOCK_TYPE_WRITE   ((uintptr_t)1)
#define VBOX_IDTE_TYPE1   0
#define VBOX_IDTE_TYPE2_INT_16   0x6
#define VBOX_IDTE_TYPE2_INT_32   0xe
#define VBOX_IDTE_TYPE2_TASK   0x5
#define VBOX_IDTE_TYPE2_TRAP_16   0x7
#define VBOX_IDTE_TYPE2_TRAP_32   0xf
#define VBOXIDTE_OFFSET(desc)
#define VBOXSTRICTRC_TODO(rcStrict)   VBOXSTRICTRC_VAL(rcStrict)
#define VBOXSTRICTRC_VAL(rcStrict)   (rcStrict)
#define VMCPUSET_ADD(pSet, idCpu)   ASMBitSet( &(pSet)->au32Bitmap, (idCpu))
#define VMCPUSET_DEL(pSet, idCpu)   ASMBitClear(&(pSet)->au32Bitmap, (idCpu))
#define VMCPUSET_EMPTY(pSet)   memset(&(pSet)->au32Bitmap[0], '\0', sizeof((pSet)->au32Bitmap))
#define VMCPUSET_FILL(pSet)   memset(&(pSet)->au32Bitmap[0], 0xff, sizeof((pSet)->au32Bitmap))
#define VMCPUSET_IS_EQUAL(pSet1, pSet2)   (memcmp(&(pSet1)->au32Bitmap[0], &(pSet2)->au32Bitmap[0], sizeof((pSet1)->au32Bitmap)) == 0)
#define VMCPUSET_IS_PRESENT(pSet, idCpu)   ASMBitTest( &(pSet)->au32Bitmap, (idCpu))
Special CPU ID values.

Most of these are for request scheduling.

#define VMCPUID_ALL   UINT32_C(0xfffffff2)
#define VMCPUID_ALL_REVERSE   UINT32_C(0xfffffff3)
#define VMCPUID_ANY   UINT32_C(0xfffffff4)
#define VMCPUID_ANY_QUEUE   UINT32_C(0xfffffff5)
#define NIL_VMCPUID   UINT32_C(0xfffffffd)

Typedefs

typedef enum CPUMMODE CPUMMODE
typedef struct CPUMCTXPCCPUMCTX
typedef struct CPUMCTXCOREPCCPUMCTXCORE
typedef struct CPUMSELREGHIDPCCPUMSELREGHID
typedef struct CFGMLEAFPCFGMLEAF
typedef struct CFGMNODEPCFGMNODE
typedef union PDMCRITSECTPCPDMCRITSECT
typedef PDMDATASEG const * PCPDMDATASEG
typedef PDMNETWORKGSO const * PCPDMNETWORKGSO
typedef struct CPUMCTXPCPUMCTX
typedef struct CPUMCTXCOREPCPUMCTXCORE
typedef struct CPUMSELREGHIDPCPUMSELREGHID
typedef struct SSMSTRMOPS const * PCSSMSTRMOPS
typedef VBOXIDTE const * PCVBOXIDTE
typedef const VBOXTSSPCVBOXTSS
typedef VMCPUSET const * PCVMCPUSET
typedef struct PDMDATASEG PDMDATASEG
typedef struct PDMNETWORKGSO PDMNETWORKGSO
typedef enum PDMNETWORKGSOTYPE PDMNETWORKGSOTYPE
typedef struct PGMPAGEMAPLOCK PGMPAGEMAPLOCK
typedef enum PGMROMPROT PGMROMPROT
typedef union PDMCRITSECTPPDMCRITSECT
typedef PDMDATASEGPPDMDATASEG
typedef struct PDMDEVINSPPDMDEVINS
typedef struct PDMDRVINSPPDMDRVINS
typedef struct PDMIBASEPPDMIBASE
typedef PDMNETWORKGSOPPDMNETWORKGSO
typedef struct PDMSRVINSPPDMSRVINS
typedef struct PDMUSBINSPPDMUSBINS
typedef PGMPAGEMAPLOCKPPGMPAGEMAPLOCK
typedef PPDMDEVINSPPPDMDEVINS
typedef PPDMDRVINSPPPDMDRVINS
typedef PPDMIBASEPPPDMIBASE
typedef PPDMSRVINSPPPDMSRVINS
typedef PPDMUSBINSPPPDMUSBINS
typedef PTMTIMER * PPTMTIMER
typedef PTMTIMERR0 * PPTMTIMERR0
typedef PTMTIMERR3 * PPTMTIMERR3
typedef PTMTIMERRC * PPTMTIMERRC
typedef struct SSMHANDLEPSSMHANDLE
typedef VBOXGDTRPVBOXGDTR
typedef VBOXIDTEPVBOXIDTE
typedef VBOXIDTE_GENERICPVBOXIDTE_GENERIC
typedef VBOXIDTE_INTERRUPTGATEPVBOXIDTE_INTERRUPTGATE
typedef VBOXIDTE_TASKGATEPVBOXIDTE_TASKGATE
typedef VBOXIDTE_TRAPGATEPVBOXIDTE_TRAPGATE
typedef struct VBOXIDTRPVBOXIDTR
typedef struct VBOXIDTR_VER1_6PVBOXIDTR_VER1_6
typedef VBOXTSSPVBOXTSS
typedef struct VMPVM
typedef VMCPUIDPVMCPUID
typedef VMCPUSETPVMCPUSET
typedef struct VBOXGDTR VBOXGDTR
typedef struct VBOXGDTR_VER1_6 VBOXGDTR_VER1_6
typedef union VBOXIDTE VBOXIDTE
typedef struct VBOXIDTE_GENERIC VBOXIDTE_GENERIC
typedef struct
VBOXIDTE_INTERRUPTGATE 
VBOXIDTE_INTERRUPTGATE
typedef struct VBOXIDTE_TASKGATE VBOXIDTE_TASKGATE
typedef struct VBOXIDTE_TRAPGATE VBOXIDTE_TRAPGATE
typedef struct VBOXIDTR VBOXIDTR
typedef struct VBOXIDTR_VER1_6 VBOXIDTR_VER1_6
typedef int32_t VBOXSTRICTRC
typedef struct VBOXTSS VBOXTSS
typedef uint32_t VMCPUID
typedef struct VMCPUSET VMCPUSET
typedef enum VMSTATE VMSTATE
typedef struct VMCPUPVMCPU

Enumerations

enum  CPUMMODE { CPUMMODE_INVALID = 0, CPUMMODE_REAL, CPUMMODE_PROTECTED, CPUMMODE_LONG }
enum  PDMNETWORKGSOTYPE {
  PDMNETWORKGSOTYPE_INVALID = 0, PDMNETWORKGSOTYPE_IPV4_TCP, PDMNETWORKGSOTYPE_IPV6_TCP, PDMNETWORKGSOTYPE_IPV4_UDP,
  PDMNETWORKGSOTYPE_IPV6_UDP, PDMNETWORKGSOTYPE_IPV4_IPV6_TCP, PDMNETWORKGSOTYPE_IPV4_IPV6_UDP, PDMNETWORKGSOTYPE_END
}
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  VMSTATE {
  VMSTATE_CREATING = 0, VMSTATE_CREATED, VMSTATE_LOADING, VMSTATE_POWERING_ON,
  VMSTATE_RESUMING, VMSTATE_RUNNING, VMSTATE_RUNNING_LS, VMSTATE_RESETTING,
  VMSTATE_RESETTING_LS, VMSTATE_SUSPENDING, VMSTATE_SUSPENDING_LS, VMSTATE_SUSPENDING_EXT_LS,
  VMSTATE_SUSPENDED, VMSTATE_SUSPENDED_LS, VMSTATE_SUSPENDED_EXT_LS, VMSTATE_SAVING,
  VMSTATE_DEBUGGING, VMSTATE_DEBUGGING_LS, VMSTATE_POWERING_OFF, VMSTATE_POWERING_OFF_LS,
  VMSTATE_OFF, VMSTATE_OFF_LS, VMSTATE_FATAL_ERROR, VMSTATE_FATAL_ERROR_LS,
  VMSTATE_GURU_MEDITATION, VMSTATE_GURU_MEDITATION_LS, VMSTATE_LOAD_FAILURE, VMSTATE_DESTROYING,
  VMSTATE_TERMINATED, VMSTATE_MAKE_32BIT_HACK = 0x7fffffff
}

Functions

typedef CTX_SUFF (PTMTIMER) PTMTIMER
typedef R0PTRTYPE (struct SUPDRVSESSION *) PSUPDRVSESSION
typedef R0PTRTYPE (struct GVM *) PGVM
typedef R0PTRTYPE (struct TMTIMER *) PTMTIMERR0
typedef R0PTRTYPE (struct VM *) PVMR0
typedef R0PTRTYPE (struct VMCPU *) PVMCPUR0
typedef R0PTRTYPE (PPDMDEVINS) PPDMDEVINSR0
typedef R0PTRTYPE (PPDMDRVINS) PPDMDRVINSR0
typedef R3PTRTYPE (struct TMTIMER *) PTMTIMERR3
typedef R3PTRTYPE (struct UVMCPU *) PUVMCPU
typedef R3PTRTYPE (PPDMDEVINS) PPDMDEVINSR3
typedef R3PTRTYPE (struct UVM *) PUVM
typedef R3PTRTYPE (struct VMCPU *) PVMCPUR3
typedef R3PTRTYPE (struct VM *) PVMR3
typedef R3PTRTYPE (PPDMDRVINS) PPDMDRVINSR3
typedef RCPTRTYPE (struct VMCPU *) PVMCPURC
typedef RCPTRTYPE (PPDMDRVINS) PPDMDRVINSRC
typedef RCPTRTYPE (PPDMDEVINS) PPDMDEVINSRC
typedef RCPTRTYPE (struct TMTIMER *) PTMTIMERRC
typedef RCPTRTYPE (struct VM *) PVMRC

Detailed Description

VirtualBox - Types.

Definition in file types.h.


Generated by  Doxygen 1.6.0   Back to index