summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smp.h
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-03-26 19:49:34 +0000
committerps <ps@FreeBSD.org>2003-03-26 19:49:34 +0000
commit26fe456f216d9c83dd7f5af085925867ef902c50 (patch)
tree63e61155c42cb3a8ddc75c2e4758c303d4c97297 /sys/i386/include/smp.h
parent0511e210cbed13b6dca1e86f8495402b70f7ac01 (diff)
downloadFreeBSD-src-26fe456f216d9c83dd7f5af085925867ef902c50.zip
FreeBSD-src-26fe456f216d9c83dd7f5af085925867ef902c50.tar.gz
Nuke options HTT infavor of machdep.hlt_logical_cpus tunable/sysctl.
This keeps the logical cpu's halted in the idle loop. By default the logical cpu's are halted at startup. It is also possible to halt any cpu in the idle loop now using machdep.hlt_cpus. Examples of how to use this: machdep.hlt_cpus=1 halt cpu0 machdep.hlt_cpus=2 halt cpu1 machdep.hlt_cpus=4 halt cpu2 machdep.hlt_cpus=3 halt cpu0,cpu1 Reviewed by: jhb, peter
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r--sys/i386/include/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index 2f576a2..b503c2c 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -108,6 +108,7 @@ int apic_src_bus_irq(int, int);
int apic_int_type(int, int);
int apic_trigger(int, int);
int apic_polarity(int, int);
+int mp_grab_cpu_hlt(void);
void assign_apic_irq(int apic, int intpin, int irq);
void revoke_apic_irq(int irq);
void bsp_apic_configure(void);
OpenPOWER on IntegriCloud