lkml.org 
[lkml]   [2003]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH][2.6][4/5]Support for HPET based timer
Date
From
4/5 - hpet4.patch - Miscallaneous makefile and config changes





diff -purN linux-2.6.0-test1/arch/i386/Kconfig linux-2.6.0-test1-hpet/arch/i386/Kconfig
--- linux-2.6.0-test1/arch/i386/Kconfig 2003-07-13 20:30:48.000000000 -0700
+++ linux-2.6.0-test1-hpet/arch/i386/Kconfig 2003-08-18 19:49:55.000000000 -0700
@@ -408,6 +408,17 @@ config HUGETLB_PAGE

Otherwise, say N.

+config HPET_TIMER
+ bool "HPET Timer Support"
+ help
+ This enables HPET timer usage for kernel internal timer.
+ HPET is the next generation timer replacing legacy 8254s.
+ You can safely choose Y here. However, HPET will be
+ activated, only if platform and the BIOS supports the feature.
+ Otherwise, 8254 will be used for timing services.
+
+ Choose N, to continue using legacy 8254 timer.
+
config SMP
bool "Symmetric multi-processing support"
---help---
diff -purN linux-2.6.0-test1/arch/i386/kernel/Makefile linux-2.6.0-test1-hpet/arch/i386/kernel/Makefile
--- linux-2.6.0-test1/arch/i386/kernel/Makefile 2003-07-13 20:31:20.000000000 -0700
+++ linux-2.6.0-test1-hpet/arch/i386/kernel/Makefile 2003-07-16 12:44:33.000000000 -0700
@@ -31,6 +31,7 @@ obj-$(CONFIG_EDD) += edd.o
obj-$(CONFIG_MODULES) += module.o
obj-y += sysenter.o vsyscall.o
obj-$(CONFIG_ACPI_SRAT) += srat.o
+obj-$(CONFIG_HPET_TIMER) += time_hpet.o

EXTRA_AFLAGS := -traditional

diff -purN linux-2.6.0-test1/arch/i386/kernel/timers/Makefile linux-2.6.0-test1-hpet/arch/i386/kernel/timers/Makefile
--- linux-2.6.0-test1/arch/i386/kernel/timers/Makefile 2003-07-13 20:28:54.000000000 -0700
+++ linux-2.6.0-test1-hpet/arch/i386/kernel/timers/Makefile 2003-07-16 12:44:33.000000000 -0700
@@ -5,3 +5,4 @@
obj-y := timer.o timer_none.o timer_tsc.o timer_pit.o

obj-$(CONFIG_X86_CYCLONE_TIMER) += timer_cyclone.o
+obj-$(CONFIG_HPET_TIMER) += timer_hpet.o

[unhandled content-type:application/x-zip-compressed]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.058 / U:2.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site