From dbe005bb69caeb2f4f9b0fe982f6fab9ce51b67f Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 6 Jul 2011 21:05:26 +0200 Subject: [PATCH] kernel: FWIW, allow the CPU_ENABLE_EST option for x86_64 kernels too. --- sys/config/LINT64 | 4 ++++ sys/platform/pc64/conf/files | 2 ++ sys/platform/pc64/conf/options | 1 + 3 files changed, 7 insertions(+) diff --git a/sys/config/LINT64 b/sys/config/LINT64 index 7800c41873..82e318143f 100644 --- a/sys/config/LINT64 +++ b/sys/config/LINT64 @@ -143,8 +143,12 @@ cpu HAMMER_CPU # # CPU_DISABLE_SSE disables SSE/MMX2 instructions support. # +# CPU_ENABLE_EST enables support for Enhanced SpeedStep technology +# found in Pentium(tm) M processors. +# options CPU_AMD64X2_INTR_SPAM #options CPU_DISABLE_SSE +options CPU_ENABLE_EST ##################################################################### # COMPATIBILITY OPTIONS diff --git a/sys/platform/pc64/conf/files b/sys/platform/pc64/conf/files index 12d3fce866..31f03a9734 100644 --- a/sys/platform/pc64/conf/files +++ b/sys/platform/pc64/conf/files @@ -178,6 +178,8 @@ platform/pc64/apic/ioapic_abi.c standard platform/pc64/apic/ioapic_ipl.s standard platform/pc64/apic/apic_vector.s standard +platform/pc64/x86_64/est.c optional cpu_enable_est + bus/isa/x86_64/isa.c optional isa bus/isa/x86_64/isa_dma.c optional isa diff --git a/sys/platform/pc64/conf/options b/sys/platform/pc64/conf/options index 49f5a3ea1d..072e95845e 100644 --- a/sys/platform/pc64/conf/options +++ b/sys/platform/pc64/conf/options @@ -14,6 +14,7 @@ APIC_IO opt_apic.h # x86_64 SMP options CPU_AMD64X2_INTR_SPAM opt_cpu.h +CPU_ENABLE_EST opt_cpu.h # The cpu type # -- 2.41.0