Use __luna_abort in init
This commit is contained in:
parent
ae95a528f2
commit
d2f9e17c86
@ -15,8 +15,7 @@ int main()
|
|||||||
{
|
{
|
||||||
if (gettid() == 0) // why are we the idle task?
|
if (gettid() == 0) // why are we the idle task?
|
||||||
{
|
{
|
||||||
println("SHENANIGANS! init is tid 0 (which is reserved for the idle task)");
|
__luna_abort("SHENANIGANS! init is tid 0 (which is reserved for the idle task)\n");
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
println("Welcome to Luna from a C init!");
|
println("Welcome to Luna from a C init!");
|
||||||
|
Loading…
Reference in New Issue
Block a user