summaryrefslogtreecommitdiffstats
path: root/sys/sys/smp.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-12-06 01:04:02 +0000
committerpeter <peter@FreeBSD.org>2000-12-06 01:04:02 +0000
commit92c9bab52b5aedd40f49ab45b2450cc7dd98e2f4 (patch)
tree91f7166df6c04e0df7c1cbcceafe84b1a9a11faf /sys/sys/smp.h
parent5e456a15ec12de9e79220564cda4fcce69219d2f (diff)
downloadFreeBSD-src-92c9bab52b5aedd40f49ab45b2450cc7dd98e2f4.zip
FreeBSD-src-92c9bab52b5aedd40f49ab45b2450cc7dd98e2f4.tar.gz
Move io_apic_{read,write} from apic_ipl.s (where they do not belong) into
mpapic.c. This gives us the benefit of C type checking. These functions are not called in any critical paths and are not used by the interrupt routines.
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r--sys/sys/smp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h
index b2df060..0ff53bd 100644
--- a/sys/sys/smp.h
+++ b/sys/sys/smp.h
@@ -58,10 +58,6 @@ extern volatile u_int checkstate_need_ast;
extern volatile u_int resched_cpus;
extern void (*cpustop_restartfunc) __P((void));
-/* functions in apic_ipl.s */
-u_int io_apic_read __P((int, int));
-void io_apic_write __P((int, int, u_int));
-
/* global data in mp_machdep.c */
extern int bsp_apic_ready;
extern int mp_ncpus;
@@ -146,6 +142,9 @@ int ext_int_setup __P((int, int));
void set_apic_timer __P((int));
int read_apic_timer __P((void));
void u_sleep __P((int));
+u_int io_apic_read __P((int, int));
+void io_apic_write __P((int, int, u_int));
+
/* global data in init_smp.c */
extern int invltlb_ok;
OpenPOWER on IntegriCloud