Public Member Functions | |
bool | receive (MessageIrq &msg) |
bool | receive (MessageTimer &msg) |
HostHpet (DBus< MessageTimeout > &bus_timeout, DBus< MessageHostOp > &bus_hostop, Clock *clock, void *iomem, unsigned timer, unsigned theirq, bool level, unsigned long maxfreq) |
HostHpet driver.
Copyright (C) 2009-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. Use the HPET as timer backend.
State: testing Features: periodic timer, support different timers, one-shot, HPET ACPI table, MSI
HostHpet::HostHpet | ( | DBus< MessageTimeout > & | bus_timeout, | |
DBus< MessageHostOp > & | bus_hostop, | |||
Clock * | clock, | |||
void * | iomem, | |||
unsigned | timer, | |||
unsigned | theirq, | |||
bool | level, | |||
unsigned long | maxfreq | |||
) | [inline] |
bool HostHpet::receive | ( | MessageIrq & | msg | ) | [inline] |
bool HostHpet::receive | ( | MessageTimer & | msg | ) | [inline] |
Use the same heuristic as in Linux 2.6.37 to avoid various corner cases. See 995bd3bb5c78f3ff71339803c0b8337ed36d64fb for a detailed explanation.