Classes | Public Types | Static Public Member Functions

BasicHpet Class Reference

HPET register layout. More...

#include <hpet.h>

Inheritance diagram for BasicHpet:
HostHpet PerCpuTimerService

List of all members.

Classes

struct  HostHpetRegister
struct  HostHpetTimer

Public Types

enum  {
  ENABLE_CNF = (1U << 0), LEG_RT_CNF = (1U << 1), LEG_RT_CAP = (1U << 15), BIT64_CAP = (1U << 13),
  FSB_INT_DEL_CAP = (1U << 15), FSB_INT_EN_CNF = (1U << 14), MODE32_CNF = (1U << 8), PER_INT_CAP = (1U << 4),
  TYPE_CNF = (1U << 3), INT_ENB_CNF = (1U << 2), INT_TYPE_CNF = (1U << 1)
}

Static Public Member Functions

static unsigned long get_hpet_address (DBus< MessageAcpi > &bus_acpi)
 Get the HPET address from the ACPI table.
static bool check_hpet_present (void *address, unsigned timer, unsigned irq)
 Check whether some address points to an hpet.

Detailed Description

HPET register layout.

Copyright (C) 2009-2010, Bernhard Kauer <bk@vmmon.org> Copyright (C) 2011, Julian Stecklina <jsteckli@os.inf.tu-dresden.de> 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.


Member Enumeration Documentation

anonymous enum
Enumerator:
ENABLE_CNF 
LEG_RT_CNF 
LEG_RT_CAP 
BIT64_CAP 
FSB_INT_DEL_CAP 
FSB_INT_EN_CNF 
MODE32_CNF 
PER_INT_CAP 
TYPE_CNF 
INT_ENB_CNF 
INT_TYPE_CNF 

Member Function Documentation

static bool BasicHpet::check_hpet_present ( void *  address,
unsigned  timer,
unsigned  irq 
) [inline, static]

Check whether some address points to an hpet.

static unsigned long BasicHpet::get_hpet_address ( DBus< MessageAcpi > &  bus_acpi  )  [inline, static]

Get the HPET address from the ACPI table.


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