Reset card on RTEMS shutdown.

This commit is contained in:
Eric Norum
2008-10-23 13:45:55 +00:00
parent daad59a453
commit 83e392b463
16 changed files with 35 additions and 21 deletions

View File

@@ -65,7 +65,7 @@ BSP_printStackTrace(BSP_Exception_frame* excPtr);
extern void
rtemsReboot(void);
bsp_reset(void);
static volatile BSP_ExceptionExtension BSP_exceptionExtension = 0;
@@ -236,7 +236,7 @@ int quiet=0;
rtems_task_suspend(id);
} else {
printk("PANIC, rebooting...\n");
rtemsReboot();
bsp_reset();
}
}
}