diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-20 05:22:33 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-20 05:22:33 +0000 |
commit | ea72b8e976791b005527662091bc146ad0bfd3b6 (patch) | |
tree | 7a5682434fc65c7ccab9c604fd2c3e70bf9fe0d1 /sys/i386/include/smp.h | |
parent | d78ea4408baf27baff1145300626448f81e22e5d (diff) | |
download | FreeBSD-src-ea72b8e976791b005527662091bc146ad0bfd3b6.zip FreeBSD-src-ea72b8e976791b005527662091bc146ad0bfd3b6.tar.gz |
Preperation for moving cpl into critical region access.
Several new fine-grained locks.
Control of new FAST_INTR() methods.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index fc55218..e80d91a 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.25 1997/08/15 02:34:32 fsmp Exp $ + * $Id: smp.h,v 1.26 1997/08/18 03:35:59 fsmp Exp $ * */ @@ -59,6 +59,7 @@ void bootMP __P((void)); /* global data in mplock.s */ extern u_int mp_lock; +extern u_int isr_lock; /* functions in mplock.s */ void get_mplock __P((void)); @@ -74,7 +75,10 @@ extern volatile u_int started_cpus; extern u_int vec[]; extern u_int Xintr8254; extern u_int mask8254; -extern volatile struct simplelock imen_lock; +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)); @@ -109,6 +113,8 @@ 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)); |