NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hosthpet.cc File Reference

HostHpet driver. More...

#include <nul/motherboard.h>
#include <host/hpet.h>
#include "host/hostpci.h"

Classes

class  HostHpet
 Use the HPET as timer backend. More...

Functions

 PARAM_HANDLER (hosthpet,"hosthpet:timer=0,address,irq=~0u,level=1,maxfreq=10000 - use the host HPET as timer.","If no address is given, the ACPI HPET table or 0xfed00000 is used.","If no irq is given, either the legacy or the lowest possible IRQ is used.","The maxfreq parameter defines the maximum IRQ rate and therefore accuracy of the device.","Example: 'hosthpet:1,0xfed00000' - for the second timer of the hpet at 0xfed00000.")
 PARAM_HANDLER (quirk_hpet_ich,"quirk_hpet_ich - force enable the HPET on an ICH chipset.","Please note that this does not check whether this is done on the right chipset - use it on your own risk!")

Detailed Description

HostHpet driver.

Copyright (C) 2009-2010, Bernhard Kauer bk@vm.nosp@m.mon..nosp@m.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.

Function Documentation

PARAM_HANDLER ( hosthpet  ,
"hosthpet:timer  = 0,
address  ,
irq  = ~0u,
level  = 1,
maxfreq  = 10000 - use the host HPET as timer.", "If no address is given,
the ACPI HPET table or 0xfed00000 is used."  ,
"If no irq is  given,
either the legacy or the lowest possible IRQ is used."  ,
"The maxfreq parameter defines the maximum IRQ rate and therefore accuracy of the device."  ,
"Example: 'hosthpet:1  ,
0xfed00000'-for the second timer of the hpet at 0xfed00000."   
)
PARAM_HANDLER ( quirk_hpet_ich  ,
"quirk_hpet_ich - force enable the HPET on an ICH chipset."  ,
"Please note that this does not check whether this is done on the right chipset - use it on your own risk!"   
)