Clean up panicf and introduce system_exception_wait to do further target tasks and...
commit82a5221aebe85e43d59c52337bc405a7c297bb3b
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 8 Jan 2009 10:15:32 +0000 (8 10:15 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 8 Jan 2009 10:15:32 +0000 (8 10:15 +0000)
tree7ebe8ac19acabd74117a638da8dbb0c1cedf2600
parent9b2a4d77b5ea4757c5a6663cb67b1c9b9fda800c
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://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
18 files changed:
firmware/SOURCES
firmware/export/system.h
firmware/panic.c
firmware/system.c
firmware/target/arm/as3525/system-as3525.c
firmware/target/arm/imx31/gigabeat-s/system-imx31.c
firmware/target/arm/pnx0101/system-pnx0101.c
firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c
firmware/target/arm/s5l8700/system-s5l8700.c
firmware/target/arm/system-arm.c [new file with mode: 0644]
firmware/target/arm/system-pp5002.c
firmware/target/arm/system-pp502x.c
firmware/target/arm/tcc77x/system-tcc77x.c
firmware/target/arm/tcc780x/system-tcc780x.c
firmware/target/coldfire/system-coldfire.c
firmware/target/mips/ingenic_jz47xx/system-jz4740.c
firmware/target/sh/system-sh.c
uisimulator/common/stubs.c