1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

PoShutdown

This commit is contained in:
Julian Barathieu 2019-05-09 10:27:44 +02:00
parent 43da9c40c4
commit bd5f99ed37
5 changed files with 9 additions and 4 deletions

View File

@ -31,6 +31,7 @@
//----------------------------------------------------------------------------//
noreturn void PoShutdown(void);
noreturn void PoShutdownQemu(void);
noreturn void PoShutdownVirtualbox(void);
noreturn void PoShutdownBochs(void);

View File

@ -64,6 +64,5 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
KeStartShell();
KernLog("End of input reached\n");
PoShutdownQemu();
PoShutdown();
}

View File

@ -59,3 +59,8 @@ noreturn void PoShutdownBochs(void)
__builtin_unreachable();
}
noreturn void PoShutdown(void)
{
PoShutdownQemu();
}

View File

@ -44,7 +44,7 @@ error_t CmdStarWars(int argc, char **argv, char *cmdline)
error_t CmdQuit(int argc, char **argv, char *cmdline)
{
PoShutdownQemu();
PoShutdown();
return EOK;
}

View File

@ -111,7 +111,7 @@ void KeStartShell(void)
break;
case KEY_ESC:
PoShutdownQemu();
PoShutdown();
break;
default: