FreeCalypso > hg > freecalypso-sw
annotate target-utils/include/halt.h @ 487:f612f9c3fe77
gsm-fw/gpf/conf: GSM and GPRS stack configurations imported from Leonardo
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> | 
|---|---|
| date | Sun, 29 Jun 2014 20:13:43 +0000 | 
| parents | 40f607bb0a2c | 
| children | a7b0b426f9ca | 
| rev | line source | 
|---|---|
| 
1
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
1 /* | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
2 * In some error cases in our loadagent code we have no better course | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
3 * of action available than to halt in a tight loop. We define _exit() | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
4 * to do the latter. We have defined some codes for the argument value | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
5 * that goes into R0; if you manage to hook up JTAG and get it to work, | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
6 * you might be able to see what went wrong. | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
7 */ | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
8 | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
9 #define HALTCODE_MAINEXITED 0x40 | 
| 
 
da98dc08f575
loadagent: beginning to lay the foundation
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
10 #define HALTCODE_INVALIDUART 0x41 | 
