forked from Imagelibrary/rtems
2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, startup/bspreset.c: Add Skyeye reset device.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* configure.ac, startup/bspreset.c: Add Skyeye reset device.
|
||||||
|
|
||||||
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
||||||
|
|||||||
@@ -18,8 +18,15 @@ RTEMS_PROG_CCAS
|
|||||||
RTEMS_CHECK_NETWORKING
|
RTEMS_CHECK_NETWORKING
|
||||||
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
|
||||||
|
RTEMS_BSPOPTS_HELP([ON_SKYEYE],
|
||||||
|
[If defined, enable options which optimize executingon the Skyeye
|
||||||
|
simulator. Speed up the clock ticks while the idle task is running so
|
||||||
|
time spent in the idle task is minimized. This significantly reduces
|
||||||
|
the wall time required to execute the RTEMS test suites.])
|
||||||
|
|
||||||
RTEMS_BSP_BOOTCARD_OPTIONS
|
RTEMS_BSP_BOOTCARD_OPTIONS
|
||||||
RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
|
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
|||||||
@@ -13,6 +13,11 @@
|
|||||||
|
|
||||||
void bsp_reset(void)
|
void bsp_reset(void)
|
||||||
{
|
{
|
||||||
|
#if ON_SKYEYE == 1
|
||||||
|
#define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
|
||||||
|
|
||||||
|
SKYEYE_MAGIC_ADDRESS = 0xff;
|
||||||
|
#else
|
||||||
rtems_interrupt_level level;
|
rtems_interrupt_level level;
|
||||||
|
|
||||||
rtems_interrupt_disable(level);
|
rtems_interrupt_disable(level);
|
||||||
@@ -27,6 +32,6 @@ void bsp_reset(void)
|
|||||||
#else
|
#else
|
||||||
asm volatile ("b _start");
|
asm volatile ("b _start");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while(1);
|
while(1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user