Changeset 353be08 in rtems


Ignore:
Timestamp:
Jun 7, 2011, 1:28:01 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b6027474
Parents:
94f37add
Message:

2011-06-07 Sebastian Huber <sebastian.huber@…>

  • configure.ac, startup/bspstart.c: Use standard cache BSP options.
Location:
c/src/lib/libbsp/powerpc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog

    r94f37add r353be08  
     12011-06-07      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * configure.ac, startup/bspstart.c: Use standard cache BSP options.
     4
    152011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac

    r94f37add r353be08  
    1616RTEMS_PROG_CCAS
    1717
    18 RTEMS_BSPOPTS_SET([DATA_CACHE_ENABLE],[*],[0])
    19 RTEMS_BSPOPTS_HELP([DATA_CACHE_ENABLE],
    20 [If defined, the data cache will be enabled after address translation
    21  is turned on.])
     18RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[])
     19RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
    2220
    23 RTEMS_BSPOPTS_SET([INSTRUCTION_CACHE_ENABLE],[*],[0])
    24 RTEMS_BSPOPTS_HELP([INSTRUCTION_CACHE_ENABLE],
    25 [If defined, the instruction cache will be enabled after address translation
    26  is turned on.])
     21RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[])
     22RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
    2723
    2824RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0])
  • c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c

    r94f37add r353be08  
    198198   * Enable instruction and data caches. Do not force writethrough mode.
    199199   */
    200 #if INSTRUCTION_CACHE_ENABLE
     200#if BSP_INSTRUCTION_CACHE_ENABLED
    201201  rtems_cache_enable_instruction();
    202202#endif
    203 #if DATA_CACHE_ENABLE
     203#if BSP_DATA_CACHE_ENABLED
    204204  rtems_cache_enable_data();
    205205#endif
  • c/src/lib/libbsp/powerpc/score603e/ChangeLog

    r94f37add r353be08  
     12011-06-07      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * configure.ac, startup/bspstart.c: Use standard cache BSP options.
     4
    152011-05-17      Till Straumann <strauman@slac.stanford.edu>
    26
  • c/src/lib/libbsp/powerpc/score603e/configure.ac

    r94f37add r353be08  
    1515RTEMS_CANONICALIZE_TOOLS
    1616RTEMS_PROG_CCAS
     17
     18RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[])
     19RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
     20
     21RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[])
     22RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
    1723
    1824## FIXME: This should be a 1 out of 3 selection
     
    5359other tools like debuggers.])
    5460
    55 RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[0])
    56 RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
    57 [If defined, then the PowerPC specific code in RTEMS will use
    58  data cache instructions to optimize the context switch code.
    59  This code can conflict with debuggers or emulators.  It is known
    60  to break the Corelis PowerPC emulator with at least some combinations
    61  of PowerPC 603e revisions and emulator versions.
    62  The BSP actually contains the call that enables this.])
    63 
    6461RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
    6562RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
  • c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c

    r94f37add r353be08  
    224224  bsp_clicks_per_usec = 66 / 4;
    225225
    226   #if ( PPC_USE_DATA_CACHE )
     226  #if BSP_DATA_CACHE_ENABLED
    227227    #if DEBUG
    228228      printk("bsp_start: cache_enable\n");
     
    231231    data_cache_enable ();
    232232    #if DEBUG
    233       printk("bsp_start: END PPC_USE_DATA_CACHE\n");
     233      printk("bsp_start: END BSP_DATA_CACHE_ENABLED\n");
    234234    #endif
    235235  #endif
Note: See TracChangeset for help on using the changeset viewer.