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"
|
extern "C"
|
||||||
void
|
void
|
||||||
debugger(const char *message)
|
debugger(const char *message)
|
||||||
@@ -268,3 +260,12 @@ debugger(const char *message)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif // _#if KERNEL_MODE
|
#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