diff --git a/c/src/ChangeLog b/c/src/ChangeLog index bde505b696..0ea5e8ec29 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,11 @@ +2011-06-07 Sebastian Huber + + * aclocal/bspopts.m4: Added macros for cache options + RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED, + RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED, + RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED, and + RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED. + 2011-03-16 Jennifer Averett PR 1729/cpukit diff --git a/c/src/aclocal/bspopts.m4 b/c/src/aclocal/bspopts.m4 index 31d10bd81c..5526ae9077 100644 --- a/c/src/aclocal/bspopts.m4 +++ b/c/src/aclocal/bspopts.m4 @@ -64,3 +64,21 @@ m4_expand_once([m4_divert_once([HELP_VAR], [AS_HELP_STRING([$1],[$2], )])], [$0($1)])dnl ]) + +AC_DEFUN( +[RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED], +[RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[$1],[$2])]) + +AC_DEFUN( +[RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED], +[RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED], +[enables the data cache, if defined to a value other than zero])]) + +AC_DEFUN( +[RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED], +[RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[$1],[$2])]) + +AC_DEFUN( +[RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED], +[RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED], +[enables the instruction cache, if defined to a value other than zero])])