We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bed2c5 commit f9d4c7aCopy full SHA for f9d4c7a
1 file changed
src/kernel/syscalls.cpp
@@ -124,6 +124,10 @@ extern kernel::ctor_t __plugin_ctors_end;
124
if (kernel::panics() > 4) double_fault(why);
125
126
const int current_cpu = SMP::cpu_id();
127
+ if (!kernel::libc_initialized()) {
128
+ kprint("FATAL: panic before libc\n");
129
+ panic_epilogue(why);
130
+ }
131
132
#ifdef INCLUDEOS_SMP_ENABLE
133
SMP::global_lock();
0 commit comments