Changeset 6522e79 in rtems


Ignore:
Timestamp:
Aug 10, 2009, 3:16:35 AM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
0d979ac
Parents:
57bcaa29
Message:

2009-08-09 Joel Sherrill <joel.sherrill@…>

  • configure.ac, startup/bspreset.c: Add Skyeye reset device.
Location:
c/src/lib/libbsp/arm/rtl22xx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/rtl22xx/ChangeLog

    r57bcaa29 r6522e79  
     12009-08-09      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * configure.ac, startup/bspreset.c: Add Skyeye reset device.
     4
    152009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • c/src/lib/libbsp/arm/rtl22xx/configure.ac

    r57bcaa29 r6522e79  
    1919AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2020
     21RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
     22RTEMS_BSPOPTS_HELP([ON_SKYEYE],
     23[If defined, enable options which optimize executingon the Skyeye
     24 simulator.  Speed up the clock ticks while the idle task is running so
     25 time spent in the idle task is minimized.  This significantly reduces
     26 the wall time required to execute the RTEMS test suites.])
     27
    2128RTEMS_BSP_BOOTCARD_OPTIONS
    22 RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
     29RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
    2330
    2431# Explicitly list all Makefiles here
  • c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c

    r57bcaa29 r6522e79  
    1414void bsp_reset(void)
    1515{
    16   rtems_interrupt_level level;
     16#if ON_SKYEYE == 1
     17  #define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
    1718
    18   rtems_interrupt_disable(level);
     19  SKYEYE_MAGIC_ADDRESS = 0xff;
     20#else
     21    rtems_interrupt_level level;
    1922
    20 #ifdef __thumb__
    21   int tmp;
    22   asm volatile (" .code 16            \n" \
    23                 "ldr %[tmp], =_start  \n" \
    24                 "bx  %[tmp]           \n" \
    25                 "nop                  \n" \
    26                 : [tmp]"=&r" (tmp) );
    27 #else                   
    28   asm volatile ("b _start");
    29 #endif   
     23    rtems_interrupt_disable(level);
    3024
     25  #ifdef __thumb__
     26    int tmp;
     27    asm volatile (" .code 16            \n" \
     28                  "ldr %[tmp], =_start  \n" \
     29                  "bx  %[tmp]           \n" \
     30                  "nop                  \n" \
     31                  : [tmp]"=&r" (tmp) );
     32  #else                   
     33    asm volatile ("b _start");
     34  #endif   
    3135  while(1);
     36#endif
    3237}
Note: See TracChangeset for help on using the changeset viewer.