[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:
Travis Geiselbrecht
2014-08-06 15:31:27 -07:00
parent d3419db6f0
commit 822514acdb
18 changed files with 142 additions and 99 deletions

View File

@@ -43,9 +43,3 @@ int platform_dgetc(char *c, bool wait)
*c = ret;
return 0;
}
void platform_halt(void)
{
arch_disable_ints();
for (;;);
}