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

types.h File Reference


Detailed Description

VirtualBox - Types.

Definition in file types.h.

#include <VBox/cdefs.h>
#include <iprt/types.h>

Go to the source code of this file.

Classes

struct  PDMDATASEG
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 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 VMCPUSET_ADD(pSet, idCpu)   ASMBitSet( &(pSet)->au32Bitmap, (idCpu))
#define VMCPUSET_DEL(pSet, idCpu)   ASMBitClear(&(pSet)->au32Bitmap, (idCpu))
#define VMCPUSET_EMPTY(pSet, idCpu)   memset(&(pSet)->au32Bitmap, '\0', sizeof((pSet)->au32Bitmap))
#define VMCPUSET_FILL(pSet, idCpu)   memset(&(pSet)->au32Bitmap, 0xff, sizeof((pSet)->au32Bitmap))
#define VMCPUSET_IS_EQUAL(pSet1, pSet2)   (memcmp(&(pSet1)->au32Bitmap, &(pSet2)->au32Bitmap, 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 NIL_VMCPUID   UINT32_C(0xfffffffd)
#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)

Typedefs

typedef struct CPUMCTXPCCPUMCTX
typedef struct CPUMCTXCOREPCCPUMCTXCORE
typedef struct CPUMSELREGHIDPCCPUMSELREGHID
typedef union PDMCRITSECTPCPDMCRITSECT
typedef PDMDATASEG const * PCPDMDATASEG
typedef struct CPUMCTXPCPUMCTX
typedef struct CPUMCTXCOREPCPUMCTXCORE
typedef struct CPUMSELREGHIDPCPUMSELREGHID
typedef VBOXIDTE const * PCVBOXIDTE
typedef const VBOXTSSPCVBOXTSS
typedef VMCPUSET const * PCVMCPUSET
typedef union PDMCRITSECTPPDMCRITSECT
typedef PDMDATASEGPPDMDATASEG
typedef struct PDMDEVINSPPDMDEVINS
typedef struct PDMDRVINS * PPDMDRVINS
typedef struct PDMIBASEPPDMIBASE
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 uint32_t VMCPUID
typedef struct VMCPUPVMCPU

Enumerations

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_RUNNING, VMSTATE_LOADING,
  VMSTATE_LOAD_FAILURE, VMSTATE_SAVING, VMSTATE_SUSPENDED, VMSTATE_RESETTING,
  VMSTATE_GURU_MEDITATION, VMSTATE_OFF, VMSTATE_DESTROYING, VMSTATE_TERMINATED,
  VMSTATE_MAKE_32BIT_HACK = 0x7fffffff
}

Functions

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


Generated by  Doxygen 1.6.0   Back to index