[platform] expand platform_halt() to include suggested action and reason
-Remove old halt() call -Add default implementation that just wedges the cpu if platform doesn't override -Add default implementation for zynq
This commit is contained in:
@@ -43,9 +43,3 @@ int platform_dgetc(char *c, bool wait)
|
||||
*c = ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void platform_halt(void)
|
||||
{
|
||||
arch_disable_ints();
|
||||
for (;;);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user