diff options
author | peter <peter@FreeBSD.org> | 2000-12-06 01:04:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-12-06 01:04:02 +0000 |
commit | 92c9bab52b5aedd40f49ab45b2450cc7dd98e2f4 (patch) | |
tree | 91f7166df6c04e0df7c1cbcceafe84b1a9a11faf /sys/amd64/include/smp.h | |
parent | 5e456a15ec12de9e79220564cda4fcce69219d2f (diff) | |
download | FreeBSD-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/amd64/include/smp.h')
-rw-r--r-- | sys/amd64/include/smp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index b2df060..0ff53bd 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/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; |