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

Defines | Typedefs | Enumerations | Functions | Variables

em.h File Reference

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/trpm.h>
#include <VBox/dis.h>
Include dependency graph for em.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

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

Typedefs

typedef enum EMSTATE EMSTATE

Enumerations

enum  EMCODETYPE { EMCODETYPE_SUPERVISOR, EMCODETYPE_USER, EMCODETYPE_ALL, EMCODETYPE_32BIT_HACK = 0x7fffffff }
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

int EMInterpretInstructionCPU (PVM pVM, PVMCPU pVCpu, PDISCPUSTATE pDISState, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
 VMMDECL (RTGCUINTPTR) EMGetInhibitInterruptsPC(PVMCPU pVCpu)
 VMMDECL (bool) EMShouldContinueAfterHalt(PVMCPU pVCpu
 VMMDECL (VBOXSTRICTRC) EMInterpretPortIO(PVM pVM
 VMMDECL (int) EMInterpretDisasOne(PVM pVM
 VMMDECL (EMSTATE) EMGetState(PVMCPU pVCpu)
 VMMDECL (void) EMSetState(PVMCPU pVCpu

Variables

PVMCPU PCPUMCTXCORE uint32_t DestRegCrx
PVMCPU PCPUMCTXCORE uint32_t DestRegDrx
PVMCPU PCPUMCTXCORE uint32_t DestRegGen
PVMCPU PDISCPUSTATE
PCPUMCTXCORE RTGCPTR uint32_t
EMCODETYPE 
enmCodeType
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 pVCpu
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

Callback handlers for instruction emulation functions.

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


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

Assembly routines

PVMCPU PCPUMCTXCORE
PDISCPUSTATE uint32_t 
cbOp
uint64_t u64Param2
uint64_t size_t cbSize
uint64_t * pu32Param2
uint64_t uint64_t u32Param3
uint64_t * pu64Param2
uint64_t uint64_t u64Param3
uint32_t * pEAX
uint32_t uint32_t * pEDX
uint32_t uint32_t uint32_t uEBX
uint32_t uint32_t uint32_t uint32_t uECX
void * pvParam2
 VMMDECL (uint32_t) EMEmulateCmp(uint32_t u32Param1

Detailed Description

EM - Execution Monitor. (VMM)

Definition in file em.h.


Generated by  Doxygen 1.6.0   Back to index