aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-06 08:01:00 +0200
committerKevin O'Connor <kevin@koconnor.net>2012-09-10 20:35:53 -0400
commit455a7c87e8227d83b7bd8982285fed95546cb8c9 (patch)
tree757a0db856d9e07af8a84116aa85ba5367a6a3d3 /src/Kconfig
parenta1a32838257368a26b3a74c4c8acf4c6d7b616e2 (diff)
downloadseabios-455a7c87e8227d83b7bd8982285fed95546cb8c9.tar.gz
add acpi pmtimer support
This patch makes seabios use the acpi pmtimer instead of tsc for timekeeping. The pmtimer has a fixed frequency and doesn't need calibration, thus it doesn't suffer from calibration errors due to a loaded host machine. [ v4: mask port ioport read ] [ v2: add CONFIG_PMTIMER ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 6de3e715..b5dd63bd 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -222,6 +222,12 @@ menu "Hardware support"
default y
help
Initialize the Memory Type Range Registers (on emulators).
+ config PMTIMER
+ depends on !COREBOOT
+ bool "Use ACPI timer"
+ default y
+ help
+ Use the ACPI timer instead of the TSC for timekeeping (on qemu).
endmenu
menu "BIOS interfaces"