summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpitimer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Recalibrate TSC timecounter with HPET and PM timermikeb2017-10-061-1/+5
| | | | | | | | | | | | | If frequency of an invariant (non-stop) time stamp counter is measured using an independent working timecounter that has a known frequency, we can assume that the measured TSC frequency is as good as the resolution of the timecounter that we use to perform the measurement. This lets us switch from this high quality but expensive source to the cheaper TSC without sacrificing precision on a wide range of modern CPUs. From Adam Steen <adam@adamsteen.com.au> with tweaks from reyk@ and myself. Tested by brynet@, sthen@ and others, OK mlarkin, sthen
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* we are past the point where timecounters may disappeartedu2012-08-161-9/+1
| | | | ok miod
* Fix uninitialzied variables and formatting strings (-Wxxx errors)jordan2011-04-221-2/+2
|
* Fix $OpenBSD$ for once and for allmarco2008-06-111-1/+1
|
* Check for non-zero address if mapping to the extended addresses.mikeb2007-11-041-2/+3
| | | | | | Patch from Oleg Safiullin (a.k.a form@) ok kettenis canacar weingart
* Fixed ACPITIMER header revision for ACPI2.0 onlyjordan2007-02-221-2/+2
| | | | ok marco@
* KNF while in here.marco2007-02-201-5/+4
|
* Added acpi_map_address function for mapping GAS/IO registersjordan2007-02-191-37/+12
| | | | ok marco@
* KNFmarco2005-12-071-3/+2
|
* Spacing cleanup.grange2005-07-101-6/+6
|
* Start on a basic ACPI framework -- does not do much more than read out thetholo2005-06-021-0/+152
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@