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

sup.h File Reference


Detailed Description

SUP - Support Library.

Definition in file sup.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <iprt/assert.h>
#include <iprt/stdarg.h>
#include <iprt/asm.h>

Go to the source code of this file.

Classes

struct  SUPGIPCPU
struct  SUPGLOBALINFOPAGE
struct  SUPPAGE
struct  SUPR0SERVICEREQHDR
struct  SUPVMMR0REQHDR

Defines

#define NIL_SUPSEMEVENT   ((SUPSEMEVENT)0)
#define NIL_SUPSEMEVENTMULTI   ((SUPSEMEVENTMULTI)0)
#define SUPGLOBALINFOPAGE_MAGIC   0x19590106
#define SUPGLOBALINFOPAGE_VERSION   0x00020000
#define SUPR0SERVICEREQHDR_MAGIC   UINT32_C(0x19640416)
#define SUPVMMR0REQHDR_MAGIC   UINT32_C(0x19730211)
#define SUP_VMMR0_DO_HWACC_RUN   1
#define SUP_VMMR0_DO_NOP   2
#define SUP_VMMR0_DO_RAW_RUN   0

Typedefs

typedef const SUPPAGEPCSUPPAGE
typedef SUPGIPCPUPSUPGIPCPU
typedef SUPGLOBALINFOPAGEPSUPGLOBALINFOPAGE
typedef SUPPAGEPSUPPAGE
typedef SUPR0SERVICEREQHDRPSUPR0SERVICEREQHDR
typedef SUPSEMEVENT * PSUPSEMEVENT
typedef SUPSEMEVENTMULTI * PSUPSEMEVENTMULTI
typedef SUPVMMR0REQHDRPSUPVMMR0REQHDR

Enumerations

enum  SUPGIPMODE { SUPGIPMODE_INVALID = 0, SUPGIPMODE_SYNC_TSC, SUPGIPMODE_ASYNC_TSC, SUPGIPMODE_32BIT_HACK = 0x7fffffff }
enum  SUPPAGINGMODE {
  SUPPAGINGMODE_INVALID = 0, SUPPAGINGMODE_32_BIT, SUPPAGINGMODE_32_BIT_GLOBAL, SUPPAGINGMODE_PAE,
  SUPPAGINGMODE_PAE_GLOBAL, SUPPAGINGMODE_PAE_NX, SUPPAGINGMODE_PAE_GLOBAL_NX, SUPPAGINGMODE_AMD64,
  SUPPAGINGMODE_AMD64_GLOBAL, SUPPAGINGMODE_AMD64_NX, SUPPAGINGMODE_AMD64_GLOBAL_NX
}

Functions

 AssertCompile (sizeof(SUPGLOBALINFOPAGE)<=0x1000)
 AssertCompileSize (SUPGIPCPU, 96)
 DECLIMPORT (PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage
 DECLINLINE (uint64_t) SUPGetCpuHzFromGIP(PSUPGLOBALINFOPAGE pGip)
typedef R0PTRTYPE (struct SUPSEMEVENTMULTIHANDLE *) SUPSEMEVENTMULTI
typedef R0PTRTYPE (struct SUPSEMEVENTHANDLE *) SUPSEMEVENT
 SUPDECL (int) SUPSemEventCreate(PSUPDRVSESSION pSession

Variables

SUPSEMEVENT uint32_t cMillies
SUPSEMEVENT hEvent
SUPSEMEVENTMULTI hEventMulti
PSUPSEMEVENT phEvent
PSUPSEMEVENTMULTI phEventMulti


Generated by  Doxygen 1.6.0   Back to index