FreeCalypso > hg > freecalypso-tools
comparison target-utils/include/halt.h @ 0:e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Jun 2016 00:13:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e7502631a0f9 |
---|---|
1 /* | |
2 * In some error cases in our loadagent code we have no better course | |
3 * of action available than to halt in a tight loop. We define _exit() | |
4 * to do the latter. We have defined some codes for the argument value | |
5 * that goes into R0; if you manage to hook up JTAG and get it to work, | |
6 * you might be able to see what went wrong. | |
7 */ | |
8 | |
9 #define HALTCODE_MAINEXITED 0x40 | |
10 #define HALTCODE_INVALIDUART 0x41 | |
11 #define HALTCODE_BOOTROMVER 0x42 |