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

vm.h File Reference


Detailed Description

VM - The Virtual Machine, data.

Definition in file vm.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/cpum.h>
#include <VBox/stam.h>
#include <VBox/vmapi.h>
#include <VBox/sup.h>

Go to the source code of this file.

Classes

struct  VM

Defines

#define VM_ASSERT_EMT(pVM)
#define VM_ASSERT_OTHER_THREAD(pVM)   AssertMsg(!VM_IS_EMT(pVM), ("Not other thread!!\n"))
#define VM_FF_CLEAR(pVM, fFlag)   ASMAtomicAndU32(&(pVM)->fForcedActions, ~(fFlag))
#define VM_FF_ISPENDING(pVM, fFlags)   ((pVM)->fForcedActions & (fFlags))
#define VM_FF_ISSET(pVM, fFlag)   (((pVM)->fForcedActions & (fFlag)) == (fFlag))
#define VM_FF_SET(pVM, fFlag)   ASMAtomicOrU32(&(pVM)->fForcedActions, (fFlag))
#define VM_IS_EMT(pVM)   ((pVM)->NativeThreadEMT == RTThreadNativeSelf())
#define VMMGC_MAIN_MODULE_NAME   "VMMGC.gc"
#define VMMR0_MAIN_MODULE_NAME   "VMMR0.r0"
#define VM_FF_ALL_BUT_RAW_MASK   (~(VM_FF_HIGH_PRIORITY_PRE_RAW_MASK | VM_FF_CSAM_PENDING_ACTION | VM_FF_PDM_CRITSECT))
#define VM_FF_ALL_MASK   (~0U)
#define VM_FF_CSAM_PENDING_ACTION   BIT(25)
#define VM_FF_CSAM_SCAN_PAGE   BIT(24)
#define VM_FF_DBGF   BIT(8)
#define VM_FF_DEBUG_SUSPEND   BIT(31)
#define VM_FF_EXTERNAL_HALTED_MASK   (VM_FF_TERMINATE | VM_FF_DBGF | VM_FF_TIMER | VM_FF_INTERRUPT_APIC | VM_FF_INTERRUPT_PIC | VM_FF_REQUEST | VM_FF_PDM_QUEUES | VM_FF_PDM_DMA)
#define VM_FF_EXTERNAL_SUSPENDED_MASK   (VM_FF_TERMINATE | VM_FF_DBGF | VM_FF_REQUEST)
#define VM_FF_HIGH_PRIORITY_POST_MASK   (VM_FF_PDM_CRITSECT|VM_FF_CSAM_PENDING_ACTION)
#define VM_FF_HIGH_PRIORITY_PRE_MASK
#define VM_FF_HIGH_PRIORITY_PRE_RAW_MASK   (VM_FF_PGM_SYNC_CR3 | VM_FF_PGM_SYNC_CR3_NON_GLOBAL | VM_FF_SELM_SYNC_TSS | VM_FF_TRPM_SYNC_IDT | VM_FF_SELM_SYNC_GDT | VM_FF_SELM_SYNC_LDT | VM_FF_INHIBIT_INTERRUPTS)
#define VM_FF_INHIBIT_INTERRUPTS   BIT(22)
#define VM_FF_INTERRUPT_APIC   BIT(0)
#define VM_FF_INTERRUPT_PIC   BIT(1)
#define VM_FF_NORMAL_PRIORITY_MASK   (VM_FF_REQUEST | VM_FF_PDM_QUEUES | VM_FF_PDM_DMA)
#define VM_FF_NORMAL_PRIORITY_POST_MASK   (VM_FF_TERMINATE | VM_FF_DBGF | VM_FF_RESET | VM_FF_CSAM_SCAN_PAGE)
#define VM_FF_PDM_CRITSECT   BIT(5)
#define VM_FF_PDM_DMA   BIT(4)
#define VM_FF_PDM_QUEUES   BIT(3)
#define VM_FF_PGM_SYNC_CR3   BIT(16)
#define VM_FF_PGM_SYNC_CR3_NON_GLOBAL   BIT(17)
#define VM_FF_REQUEST   BIT(9)
#define VM_FF_RESET   BIT(11)
#define VM_FF_RESUME_GUEST_MASK   (VM_FF_TO_R3)
#define VM_FF_SELM_SYNC_GDT   BIT(20)
#define VM_FF_SELM_SYNC_LDT   BIT(21)
#define VM_FF_SELM_SYNC_TSS   BIT(19)
#define VM_FF_TERMINATE   BIT(10)
#define VM_FF_TIMER   BIT(2)
#define VM_FF_TO_R3   BIT(28)
#define VM_FF_TRPM_SYNC_IDT   BIT(18)

Typedefs

typedef struct VMPVM


Generated by  Doxygen 1.6.0   Back to index