kernel/util: Make exit() available in bootloader as well
This commit is contained in:
@@ -252,14 +252,6 @@ abort()
|
||||
}
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
exit(int status)
|
||||
{
|
||||
panic("exit() called with status code = %d!", status);
|
||||
}
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
debugger(const char *message)
|
||||
@@ -268,3 +260,12 @@ debugger(const char *message)
|
||||
}
|
||||
|
||||
#endif // _#if KERNEL_MODE
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
exit(int status)
|
||||
{
|
||||
panic("exit() called with status code = %d!", status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user