path: root/uisimulator
diff options
authorMichael Sevakis <>2009-01-08 10:15:32 +0000
committerMichael Sevakis <>2009-01-08 10:15:32 +0000
commit4ed78f5c72649002d78d48d9a117826a5d9c36f9 (patch)
tree7ebe8ac19acabd74117a638da8dbb0c1cedf2600 /uisimulator
parent32d9752dcc73fd1aaa81d484c3d426ca7856b146 (diff)
Clean up panicf and introduce system_exception_wait to do further target tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
1 files changed, 10 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index f50425b494..12b6f293a4 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -340,6 +340,16 @@ void touchpad_set_sensitivity(int level)
+void system_exception_wait(void)
+ while(1);
+void system_reboot(void)
+ while(1);
/* assure an unused place to direct virtual pointers to */
#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
unsigned char vp_dummy[VIRT_SIZE];