Public Member Functions

HostHpet Class Reference

HostHpet driver. More...

Inheritance diagram for HostHpet:
BasicHpet StaticReceiver< HostHpet > Device

List of all members.

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)

Detailed Description

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


Constructor & Destructor Documentation

HostHpet::HostHpet ( DBus< MessageTimeout > &  bus_timeout,
DBus< MessageHostOp > &  bus_hostop,
Clock clock,
void *  iomem,
unsigned  timer,
unsigned  theirq,
bool  level,
unsigned long  maxfreq 
) [inline]

Member Function Documentation

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.


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