From 95fe2fd08ace5ce695d4e426982eef0ea7ec7bbc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 7 Jun 2011 12:55:44 +0000 Subject: [PATCH] 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. --- c/src/ChangeLog | 8 ++++++++ c/src/aclocal/bspopts.m4 | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) 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])])