Public Member Functions

VirtualCpu Class Reference

Virtual CPU. More...

Inheritance diagram for VirtualCpu:
VCpu StaticReceiver< VirtualCpu > Device

List of all members.

Public Member Functions

bool receive (MessageMem &msg)
 Forward MEM requests to the motherboard.
bool receive (MessageMemRegion &msg)
bool receive (CpuEvent &msg)
bool receive (MessageLegacy &msg)
bool receive (LapicEvent &msg)
 Handle the INTA ourself in the case that there is no LAPIC or it is HW disabled.
bool receive (CpuMessage &msg)
 VirtualCpu (VCpu *_last, Motherboard &mb)

Detailed Description

Virtual CPU.

Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.


Constructor & Destructor Documentation

VirtualCpu::VirtualCpu ( VCpu _last,
Motherboard mb 
) [inline]

Member Function Documentation

bool VirtualCpu::receive ( MessageMem msg  )  [inline]

Forward MEM requests to the motherboard.

bool VirtualCpu::receive ( CpuMessage msg  )  [inline]
bool VirtualCpu::receive ( LapicEvent msg  )  [inline]

Handle the INTA ourself in the case that there is no LAPIC or it is HW disabled.

bool VirtualCpu::receive ( MessageLegacy msg  )  [inline]
bool VirtualCpu::receive ( CpuEvent msg  )  [inline]
bool VirtualCpu::receive ( MessageMemRegion msg  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines