aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/pic.c1
-rw-r--r--i386/i386/spl.h1
-rw-r--r--i386/i386at/ioapic.c1
-rw-r--r--i386/i386at/model_dep.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/pic.c b/i386/i386/pic.c
index 2431c838..66fbc04a 100644
--- a/i386/i386/pic.c
+++ b/i386/i386/pic.c
@@ -76,6 +76,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
spl_t curr_ipl[NCPUS] = {0};
int curr_pic_mask;
+int spl_init = 0;
int iunit[NINTR] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
diff --git a/i386/i386/spl.h b/i386/i386/spl.h
index 173629fe..2a3f1a3a 100644
--- a/i386/i386/spl.h
+++ b/i386/i386/spl.h
@@ -69,6 +69,7 @@ extern void splon (unsigned long n);
extern unsigned long sploff (void);
extern void setsoftclock (void);
+extern int spl_init;
/* XXX Include each other... */
#include <i386/ipl.h>
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c
index 73fd216a..218f9a51 100644
--- a/i386/i386at/ioapic.c
+++ b/i386/i386at/ioapic.c
@@ -40,6 +40,7 @@ uint32_t lapic_timer_val = 0;
uint32_t calibrated_ticks = 0;
spl_t curr_ipl[NCPUS] = {0};
+int spl_init = 0;
int iunit[NINTR] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23};
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 4ce35dfe..f83214b1 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -360,6 +360,7 @@ i386at_init(void)
#else /* MACH_HYP */
hyp_intrinit();
#endif /* MACH_HYP */
+ spl_init = 1;
/*
* Read memory map and load it into the physical page allocator.