view loadagent/halt.h @ 8:acaac9162574

loadtools modules coming along
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Apr 2013 21:35:14 +0000
parents da98dc08f575
children
line wrap: on
line source

/*
 * In some error cases in our loadagent code we have no better course
 * of action available than to halt in a tight loop.  We define _exit()
 * to do the latter.  We have defined some codes for the argument value
 * that goes into R0; if you manage to hook up JTAG and get it to work,
 * you might be able to see what went wrong.
 */

#define	HALTCODE_MAINEXITED	0x40
#define	HALTCODE_INVALIDUART	0x41