PoShutdown
This commit is contained in:
parent
43da9c40c4
commit
bd5f99ed37
|
@ -31,6 +31,7 @@
|
|||
|
||||
//----------------------------------------------------------------------------//
|
||||
|
||||
noreturn void PoShutdown(void);
|
||||
noreturn void PoShutdownQemu(void);
|
||||
noreturn void PoShutdownVirtualbox(void);
|
||||
noreturn void PoShutdownBochs(void);
|
||||
|
|
|
@ -64,6 +64,5 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
|
|||
|
||||
KeStartShell();
|
||||
|
||||
KernLog("End of input reached\n");
|
||||
PoShutdownQemu();
|
||||
PoShutdown();
|
||||
}
|
||||
|
|
|
@ -59,3 +59,8 @@ noreturn void PoShutdownBochs(void)
|
|||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
noreturn void PoShutdown(void)
|
||||
{
|
||||
PoShutdownQemu();
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ void KeStartShell(void)
|
|||
break;
|
||||
|
||||
case KEY_ESC:
|
||||
PoShutdownQemu();
|
||||
PoShutdown();
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue