]> xenbits.xensource.com Git - seabios.git/commit
timer: Add CONFIG_TSC_TIMER build option to disable the CPU TSC timer
authorKevin O'Connor <kevin@koconnor.net>
Thu, 23 Jul 2015 12:36:01 +0000 (08:36 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 23 Jul 2015 12:36:01 +0000 (08:36 -0400)
commit4ec872aac65d59e0c28252051a7415f28971dd64
tree3442e95f4e7696e2238c4f7dbe9011d388a37bee
parentbbb3fbac21c7d3839654bf1c352423b424dbaeb3
timer: Add CONFIG_TSC_TIMER build option to disable the CPU TSC timer

Allow users to remove the CPU timestamp counter support at compile
time.  The PMTIMER is frequently used instead of the TSC and this
compile time option allows one to strip a few bytes from the final
binary.  This change also defaults the internal timer to use the PIT
based timer until the PMTIMER or TSC is detected.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/Kconfig
src/hw/timer.c