diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-21 05:08:25 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-21 05:08:25 +0000 |
commit | 50236db5333cdc58157e0ad9c48b24efe702d9d3 (patch) | |
tree | c85a743ad15448292b7f250fbc5f3e4352835dd7 /sys/i386/include/smp.h | |
parent | 5d3c68aeda6b25c847b3ad8a14bb11a9d77328aa (diff) | |
download | FreeBSD-src-50236db5333cdc58157e0ad9c48b24efe702d9d3.zip FreeBSD-src-50236db5333cdc58157e0ad9c48b24efe702d9d3.tar.gz |
Made PEND_INTS default.
Made NEW_STRATEGY default.
Removed misc. old cruft.
Centralized simple locks into mp_machdep.c
Centralized simple lock macros into param.h
More cleanup in the direction of making splxx()/cpl MP-safe.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index e80d91a..6b195f6f 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: smp.h,v 1.26 1997/08/18 03:35:59 fsmp Exp $ + * $Id: smp.h,v 1.23 1997/08/21 04:48:45 smp Exp smp $ * */ @@ -75,10 +75,6 @@ extern volatile u_int started_cpus; extern u_int vec[]; extern u_int Xintr8254; extern u_int mask8254; -extern struct simplelock imen_lock; -extern struct simplelock cpl_lock; -extern struct simplelock fast_intr_lock; -extern struct simplelock intr_lock; /* functions in apic_ipl.s */ void vec8254 __P((void)); @@ -88,13 +84,6 @@ void apic_eoi __P((void)); u_int io_apic_read __P((int, int)); void io_apic_write __P((int, int, u_int)); -/* functions in simplelock.s */ -#include <machine/param.h> -void s_lock_init __P((struct simplelock *)); -void s_lock __P((struct simplelock *)); -int s_lock_try __P((struct simplelock *)); -void s_unlock __P((struct simplelock *)); - /* global data in mp_machdep.c */ extern int mp_ncpus; extern int mp_naps; @@ -113,8 +102,6 @@ extern u_int all_cpus; extern u_int SMP_prvpt[]; extern u_char SMP_ioapic[]; -extern struct simplelock com_lock; - /* functions in mp_machdep.c */ u_int mp_bootaddress __P((u_int)); int mp_probe __P((void)); |