Changeset af03345 in rtems for c/src/lib/libbsp


Ignore:
Timestamp:
Oct 13, 2014, 9:54:12 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
991261f
Parents:
9488c9d
git-author:
Joel Sherrill <joel.sherrill@…> (10/13/14 21:54:12)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/16/14 13:58:47)
Message:

Move CPU cache support from mcf5225x BSP to libcpu

Location:
c/src/lib/libbsp/m68k/mcf5225x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mcf5225x/Makefile.am

    r9488c9d raf03345  
    4343libbsp_a_LIBADD = \
    4444    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
     45    ../../../libcpu/@RTEMS_CPU@/mcf5225x/cachepd.rel \
    4546    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    4647
  • c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c

    r9488c9d raf03345  
    1919#include <bsp/bootcard.h>
    2020
    21 /*
    22  * Cannot be frozen
    23  */
    24 void _CPU_cache_freeze_data(void) {}
    25 void _CPU_cache_unfreeze_data(void) {}
    26 void _CPU_cache_freeze_instruction(void) {}
    27 void _CPU_cache_unfreeze_instruction(void) {}
    28 
    29 /*
    30  * Write-through data cache -- flushes are unnecessary
    31  */
    32 void _CPU_cache_flush_1_data_line(const void *d_addr) {}
    33 void _CPU_cache_flush_entire_data(void) {}
    34 
    35 void _CPU_cache_enable_instruction(void) {}
    36 void _CPU_cache_disable_instruction(void) {}
    37 void _CPU_cache_invalidate_entire_instruction(void) {}
    38 void _CPU_cache_invalidate_1_instruction_line(const void *addr) {}
    39 
    40 void _CPU_cache_enable_data(void) {}
    41 void _CPU_cache_disable_data(void) {}
    42 void _CPU_cache_invalidate_entire_data(void) {}
    43 void _CPU_cache_invalidate_1_data_line(const void *addr) {}
    44 
    4521void __attribute__((weak)) bsp_start(void)
    4622{
Note: See TracChangeset for help on using the changeset viewer.