summaryrefslogtreecommitdiffstats
path: root/main/cpu/template/except_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cpu/template/except_template.c')
-rw-r--r--main/cpu/template/except_template.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/main/cpu/template/except_template.c b/main/cpu/template/except_template.c
index 1623d5c..6c3d1c3 100644
--- a/main/cpu/template/except_template.c
+++ b/main/cpu/template/except_template.c
@@ -34,31 +34,31 @@
#include "stddefs.h"
#include "warmstart.h"
-ulong ExceptionAddr;
-int ExceptionType;
+ulong ExceptionAddr;
+int ExceptionType;
/* exception():
* This is the first 'C' function called out of a monitor-installed
- * exception handler.
+ * exception handler.
*/
void
exception(void)
{
- /* ADD_CODE_HERE */
+ /* ADD_CODE_HERE */
- /* Populating these two values is target specific.
- * Refer to other target-specific examples for details.
- * In some cases, these values are extracted from registers
- * already put into the register cache by the lower-level
- * portion of the exception handler in vectors_template.s
- */
- ExceptionAddr = 0;
- ExceptionType = 0;
+ /* Populating these two values is target specific.
+ * Refer to other target-specific examples for details.
+ * In some cases, these values are extracted from registers
+ * already put into the register cache by the lower-level
+ * portion of the exception handler in vectors_template.s
+ */
+ ExceptionAddr = 0;
+ ExceptionType = 0;
- /* Allow the console uart fifo to empty...
- */
- flushconsole();
- monrestart(EXCEPTION);
+ /* Allow the console uart fifo to empty...
+ */
+ flushconsole();
+ monrestart(EXCEPTION);
}
/* vinit():
@@ -69,7 +69,7 @@ exception(void)
void
vinit()
{
- /* ADD_CODE_HERE */
+ /* ADD_CODE_HERE */
}
/* ExceptionType2String():
@@ -79,9 +79,9 @@ vinit()
char *
ExceptionType2String(int type)
{
- char *string;
+ char *string;
- /* ADD_CODE_HERE */
- return(string);
+ /* ADD_CODE_HERE */
+ return(string);
}