summaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-28 21:27:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-28 21:27:36 +0200
commitecc99f77810305304893d188d25e598f5645ecaf (patch)
treeccf5769f7bc8394140dd177ac00bcb65bbe6ee64 /i386/i386at/model_dep.c
parent87cf68424591ec4576ecfc5833b2babf2d674459 (diff)
Fix crash at boot
spl cannot be called before the clock is set up.
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r--i386/i386at/model_dep.c1
1 files changed, 1 insertions, 0 deletions
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.