summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smp.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-07-23 20:42:16 +0000
committerfsmp <fsmp@FreeBSD.org>1997-07-23 20:42:16 +0000
commit8f17d1fae9a1616ab948ef9c678cc693ca2844b9 (patch)
tree033b171a49b1ee7b893c1142f4816db12fe5b41e /sys/i386/include/smp.h
parent393e83e77cb4b44779cd72f0ae91a7d07ab3bd06 (diff)
downloadFreeBSD-src-8f17d1fae9a1616ab948ef9c678cc693ca2844b9.zip
FreeBSD-src-8f17d1fae9a1616ab948ef9c678cc693ca2844b9.tar.gz
Forced 32bit alignment of struct simple_lock in param.h.
Added declarations of new simple_lock data and functions to smp.h.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r--sys/i386/include/smp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index 31d8ce8..21bc7c0 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.14 1997/07/23 05:41:55 smp Exp smp $
+ * $Id: smp.h,v 1.15 1997/07/23 20:16:11 smp Exp smp $
*
*/
@@ -65,6 +65,7 @@ extern volatile u_int started_cpus;
extern u_int vec[];
extern u_int Xintr8254;
extern u_int mask8254;
+extern struct simple_lock imen_lock;
/* functions in apic_ipl.s */
void vec8254 __P((void));
@@ -73,8 +74,8 @@ void INTRDIS __P((u_int));
void apic_eoi __P((void));
u_int io_apic_read __P((int, int));
void io_apic_write __P((int, int, u_int));
-void write_io_apic_mask24 __P((int, u_int));
+/* also in apic_ipl.s, experimental versions of simple_lock(), etc. */
#include <machine/param.h>
void s_lock_init __P((struct simplelock *));
void s_lock __P((__volatile struct simplelock *));
OpenPOWER on IntegriCloud