Host Reboot. More...
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 |
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
HostReboot::HostReboot | ( | DBus< MessageIOIn > & | bus_hwioin, | |
DBus< MessageIOOut > & | bus_hwioout, | |||
unsigned | method | |||
) | [inline] |
bool HostReboot::init | ( | Motherboard & | mb | ) | [inline] |
Request all the resources that are needed.
bool HostReboot::receive | ( | MessageConsole & | msg | ) | [inline] |
unsigned long long HostReboot::_acpi_address |
unsigned char HostReboot::_acpi_method |
unsigned char HostReboot::_acpi_value |
unsigned HostReboot::_method |