Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/include multiple-include protect...



details:   https://anonhg.NetBSD.org/src/rev/1e180694e530
branches:  sommerfeld_i386mp_1
changeset: 482206:1e180694e530
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun Feb 27 20:26:06 2000 +0000

description:
multiple-include protection.
flush bogons.
add kludge to let ioapic know who the boot cpu is.

diffstat:

 sys/arch/i386/include/i82093var.h |  19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diffs (38 lines):

diff -r f48409e95ae8 -r 1e180694e530 sys/arch/i386/include/i82093var.h
--- a/sys/arch/i386/include/i82093var.h Sun Feb 27 20:25:00 2000 +0000
+++ b/sys/arch/i386/include/i82093var.h Sun Feb 27 20:26:06 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82093var.h,v 1.1.2.2 2000/02/21 18:54:07 sommerfeld Exp $ */
+/* $NetBSD: i82093var.h,v 1.1.2.3 2000/02/27 20:26:06 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,6 +38,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _I386_I82093VAR_H_
+#define _I386_I82093VAR_H_
+
 #include <machine/apicvar.h>
 
 struct ioapic_pin 
@@ -88,16 +91,6 @@
 void ioapic_enable __P((void));
 void lapic_vectorset __P((void)); /* XXX */
 
+extern int ioapic_bsp_id;
 
-/*
- * Temporary hacks, for treating the APIC sort of like a wider PIC.
- * XXX this is sick, but it will get things starting to roll.
- * XXX will not scale to multiple APIC's, ignores most of the nice new
- * features of the APIC, but will start using it to deliver i/o interrupts.
- */
-
-void apic_calculatemasks __P((void);)
-#define APIC_ICU_OFFSET        48              /* 0-31 are processor exceptions */
-                                       /* 32-47 are ISA interrupts */
-#define APIC_ICU_LEN 24                        /* 48..71 are APIC interrupts */
-
+#endif /* !_I386_I82093VAR_H_ */



Home | Main Index | Thread Index | Old Index