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

em.h File Reference


Detailed Description

EM - Execution Monitor. (VMM)

Definition in file em.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/trpm.h>
#include <VBox/dis.h>

Go to the source code of this file.

Assembly routines

uint64_t size_t cbSize
uint32_t * pEAX
uint32_t uint32_t * pEDX
uint64_t * pu32Param2
uint64_t * pu64Param2
uint64_t uint64_t u32Param3
uint64_t u64Param2
uint64_t uint64_t u64Param3
uint32_t uint32_t uint32_t uEBX
uint32_t uint32_t uint32_t uint32_t uECX
 VMMDECL (uint32_t) EMEmulateCmp(uint32_t u32Param1

Callback handlers for instruction emulation functions.

These are placed here because IOM wants to use them as well.

typedef uint64_t size_t cb
typedef uint64_t RTGCUINTREG32pf
typedef FNEMULATELOCKPARAM2 * PFNEMULATELOCKPARAM2
typedef FNEMULATELOCKPARAM3 * PFNEMULATELOCKPARAM3
typedef FNEMULATEPARAM2 * PFNEMULATEPARAM2
typedef FNEMULATEPARAM2UINT32 * PFNEMULATEPARAM2UINT32
typedef FNEMULATEPARAM3 * PFNEMULATEPARAM3
typedef uint64_t val2
typedef uint64_t size_t val3
typedef DECLCALLBACK (int) FNEMULATELOCKPARAM2(void *pvParam1
typedef DECLCALLBACK (uint32_t) FNEMULATEPARAM2UINT32(void *pvParam1

Defines

#define EMIsRawRing0Enabled(pVM)   ((pVM)->fRawR0Enabled)
#define EMIsRawRing3Enabled(pVM)   ((pVM)->fRawR3Enabled)
#define VBOX_RAW_V86

Enumerations

enum  EMSTATE {
  EMSTATE_NONE = 1, EMSTATE_RAW, EMSTATE_HWACC, EMSTATE_PARAV,
  EMSTATE_REM, EMSTATE_HALTED, EMSTATE_WAIT_SIPI, EMSTATE_SUSPENDED,
  EMSTATE_TERMINATING, EMSTATE_DEBUG_GUEST_RAW, EMSTATE_DEBUG_GUEST_HWACC, EMSTATE_DEBUG_GUEST_REM,
  EMSTATE_DEBUG_HYPER, EMSTATE_GURU_MEDITATION, EMSTATE_MAKE_32BIT_HACK = 0x7fffffff
}

Functions

 VMMDECL (VBOXSTRICTRC) EMInterpretPortIO(PVM pVM
 VMMDECL (int) EMInterpretDisasOne(PVM pVM
 VMMDECL (RTGCUINTPTR) EMGetInhibitInterruptsPC(PVMCPU pVCpu)
 VMMDECL (void) EMSetState(PVMCPU pVCpu
 VMMDECL (EMSTATE) EMGetState(PVMCPU pVCpu)
REM locking routines
 VMMDECL (bool) EMRemIsLockOwner(PVM pVM)

Variables

PVMCPU PCPUMCTXCORE
PDISCPUSTATE uint32_t 
cbOp
PVMCPU PCPUMCTXCORE uint32_t DestRegCrx
PVMCPU PCPUMCTXCORE uint32_t DestRegDrx
PVMCPU PCPUMCTXCORE uint32_t DestRegGen
EMSTATE enmNewState
PVMCPU RTGCUINTPTR GCPtrInstr
PVMCPU PCPUMCTXCORE RTGCPTR pAddrGC
RTGCUINTPTR PC
PVMCPU PCCPUMCTXCORE
PDISCPUSTATE unsigned * 
pcbInstr
PVMCPU PCPUMCTXCORE RTGCPTR
uint32_t * 
pcbSize
PVMCPU PCCPUMCTXCORE PDISCPUSTATE pCpu
PVMCPU PCPUMCTX pCtx
PVMCPU PCCPUMCTXCORE pCtxCore
PVMCPU RTGCUINTPTR
PCCPUMCTXCORE PDISCPUSTATE 
pDISState
PVMCPU PCPUMCTXCORE pRegFrame
PVMCPU PCPUMCTXCORE RTGCPTR pvFault
PVMCPU PCPUMCTXCORE uint32_t
uint32_t 
SrcRegCrx
PVMCPU PCPUMCTXCORE uint32_t
uint32_t 
SrcRegDrx
PVMCPU PCPUMCTXCORE uint32_t
uint32_t 
SrcRegGen
PVMCPU PCPUMCTXCORE uint16_t u16Data
Timer Methods
PVMCPU pVCpu


Generated by  Doxygen 1.6.0   Back to index