Public Types | Public Member Functions | Public Attributes

HostReboot Struct Reference

Host Reboot. More...

Inheritance diagram for HostReboot:
StaticReceiver< HostReboot > Device

List of all members.

Public Types

enum  { METHOD_KEYBOARD, METHOD_FASTGATE, METHOD_PCIRESET, METHOD_ACPI }

Public Member Functions

bool init (Motherboard &mb)
 Request all the resources that are needed.
bool receive (MessageConsole &msg)
 HostReboot (DBus< MessageIOIn > &bus_hwioin, DBus< MessageIOOut > &bus_hwioout, unsigned method)

Public Attributes

unsigned _method
unsigned char _acpi_method
unsigned char _acpi_value
unsigned long long _acpi_address

Detailed Description

Host Reboot.

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. Reboot the host machine.

State: unstable Features: loop, keyboard, fastgate, PCI reset, ACPI reset methods (MMIO, IOIO, PCI0) Missing: disable VMX, keyboard-wait-loop


Member Enumeration Documentation

anonymous enum
Enumerator:
METHOD_KEYBOARD 
METHOD_FASTGATE 
METHOD_PCIRESET 
METHOD_ACPI 

Constructor & Destructor Documentation

HostReboot::HostReboot ( DBus< MessageIOIn > &  bus_hwioin,
DBus< MessageIOOut > &  bus_hwioout,
unsigned  method 
) [inline]

Member Function Documentation

bool HostReboot::init ( Motherboard mb  )  [inline]

Request all the resources that are needed.

bool HostReboot::receive ( MessageConsole msg  )  [inline]

Member Data Documentation

unsigned long long HostReboot::_acpi_address
unsigned char HostReboot::_acpi_method
unsigned char HostReboot::_acpi_value

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