add reboot cmd for arm and delete shutcmd

This commit is contained in:
Wang_Weigen
2021-05-13 10:59:05 +08:00
parent 9fb9a3a2ec
commit ed1010d84b
7 changed files with 14 additions and 98 deletions
-11
View File
@@ -96,17 +96,6 @@ uint8 KTaskStackSetup(struct TaskDescriptor *task)
return EOK;
}
void ShutdownCpu()
{
uint32 level;
KPrintf("shutdown...\n");
level = DISABLE_INTERRUPT();
while (level)
CHECK(0);
}
#ifdef TASK_ISOLATION
void RestoreMstatus(uintptr_t *sp)
{