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

vmapi.h File Reference


Detailed Description

VM - The Virtual Machine, API.

Definition in file vmapi.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/cpum.h>
#include <VBox/stam.h>
#include <VBox/cfgm.h>
#include <iprt/stdarg.h>

Go to the source code of this file.

Classes

struct  VMREQ
union  VMREQ::VMREQ_U

Defines

#define VM_GUEST_ADDR(pVM, pvInVM)   ( (RTGCPTR)(pvInVM) )
#define VM_HOST_ADDR(pVM, pvInVM)   ( (RTHCPTR)((RTHCUINTPTR)pVM->pVMHC + (uint32_t)((uintptr_t)(pvInVM) - (uintptr_t)pVM->pVMGC)) )
#define VM_R0_ADDR(pVM, pvInVM)   ( (RTR0PTR)(pvInVM) )
#define VM_R3_ADDR(pVM, pvInVM)   ( (RTR3PTR)(pvInVM) )
#define VM_SET_ERROR(pVM, rc, pszMessage)   (VMSetError(pVM, rc, RT_SRC_POS, pszMessage))

Typedefs

typedef void int const char va_list args
typedef VMSTATE VMSTATE enmOldState
typedef VMSTATE enmState
typedef FNVMATERROR * PFNVMATERROR
typedef FNVMATRESET * PFNVMATRESET
typedef FNVMATRESETEXT * PFNVMATRESETEXT
typedef FNVMATRESETINT * PFNVMATRESETINT
typedef FNVMATRUNTIMEERROR * PFNVMATRUNTIMEERROR
typedef FNVMATSTATE * PFNVMATSTATE
typedef void int const char * pszError
typedef VMREQPVMREQ
typedef void * pvUser
typedef void int rc
typedef void int RT_SRC_POS_DECL
R3 DevHlp
typedef void bool fFatal
typedef void bool const char * pszErrorID

Enumerations

enum  VMREQFLAGS { VMREQFLAGS_VBOX_STATUS = 0, VMREQFLAGS_VOID = 1, VMREQFLAGS_RETURN_MASK = 1, VMREQFLAGS_NO_WAIT = 2 }
enum  VMREQSTATE {
  VMREQSTATE_INVALID = 0, VMREQSTATE_ALLOCATED, VMREQSTATE_QUEUED, VMREQSTATE_PROCESSING,
  VMREQSTATE_COMPLETED, VMREQSTATE_FREE
}
enum  VMREQTYPE { VMREQTYPE_INVALID = 0, VMREQTYPE_INTERNAL, VMREQTYPE_MAX }

Functions

typedef DECLCALLBACK (int) FNVMATRESET(PPDMDEVINS pDevInst
typedef DECLCALLBACK (void) FNVMATERROR(PVM pVM
 VMDECL (int) VMSetError(PVM pVM

Variables

int const char * pszFormat


Generated by  Doxygen 1.6.0   Back to index