NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VCpu Class Reference

#include <vcpu.h>

Inheritance diagram for VCpu:
VirtualCpu

Public Types

enum  {
  EVENT_INTR = 1 << 0, EVENT_FIXED = 1 << 0, EVENT_LOWEST = 1 << 1, EVENT_SMI = 1 << 2,
  EVENT_RRD = 1 << 3, EVENT_RESET = 1 << 3, EVENT_NMI = 1 << 4, EVENT_INIT = 1 << 5,
  EVENT_SIPI = 1 << 6, EVENT_EXTINT = 1 << 7, EVENT_MASK = 0x0ff, DEASS_INTR = 1 << 16,
  EVENT_DEBUG = 1 << 17, STATE_BLOCK = 1 << 18, STATE_WAKEUP = 1 << 19, EVENT_HOST = 1 << 20
}

Public Member Functions

VCpuget_last ()
bool is_ap ()
bool set_cpuid (unsigned nr, unsigned reg, unsigned value, unsigned mask=~0)
 VCpu (VCpu *last)

Public Attributes

DBus< CpuMessageexecutor
DBus< CpuEventbus_event
DBus< LapicEventbus_lapic
DBus< MessageMemmem
DBus< MessageMemRegionmemregion
unsigned long long inj_count

Private Attributes

VCpu_last

Member Enumeration Documentation

anonymous enum
Enumerator:
EVENT_INTR 
EVENT_FIXED 
EVENT_LOWEST 
EVENT_SMI 
EVENT_RRD 
EVENT_RESET 
EVENT_NMI 
EVENT_INIT 
EVENT_SIPI 
EVENT_EXTINT 
EVENT_MASK 
DEASS_INTR 
EVENT_DEBUG 
STATE_BLOCK 
STATE_WAKEUP 
EVENT_HOST 

Constructor & Destructor Documentation

VCpu::VCpu ( VCpu last)
inline

Member Function Documentation

VCpu* VCpu::get_last ( )
inline
bool VCpu::is_ap ( )
inline
bool VCpu::set_cpuid ( unsigned  nr,
unsigned  reg,
unsigned  value,
unsigned  mask = ~0 
)
inline

Member Data Documentation

VCpu* VCpu::_last
private
DBus<CpuEvent> VCpu::bus_event
DBus<LapicEvent> VCpu::bus_lapic
DBus<CpuMessage> VCpu::executor
unsigned long long VCpu::inj_count
DBus<MessageMem> VCpu::mem
DBus<MessageMemRegion> VCpu::memregion

The documentation for this class was generated from the following file: