[rtems commit] sapi: Add BSP_INITIAL_EXTENSION to confdefs.h
Sebastian Huber
sebh at rtems.org
Tue Nov 13 08:35:36 UTC 2012
Module: rtems
Branch: master
Commit: 228df42204425cd4d95304f80cc45b75b0506846
Changeset: http://git.rtems.org/rtems/commit/?id=228df42204425cd4d95304f80cc45b75b0506846
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Nov 7 14:10:56 2012 +0100
sapi: Add BSP_INITIAL_EXTENSION to confdefs.h
A BSP can supply an initial extension via the new optional
BSP_INITIAL_EXTENSION define. It will be the last in the initial
extension table.
---
cpukit/sapi/include/confdefs.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 7e91103..cddfccb 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1605,7 +1605,8 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
#include <rtems/libcsupport.h>
-#if defined(CONFIGURE_INITIAL_EXTENSIONS) || \
+#if defined(BSP_INITIAL_EXTENSION) || \
+ defined(CONFIGURE_INITIAL_EXTENSIONS) || \
defined(CONFIGURE_STACK_CHECKER_ENABLED) || \
(defined(RTEMS_NEWLIB) && !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY))
static const rtems_extensions_table Configuration_Initial_Extensions[] = {
@@ -1618,6 +1619,9 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#if defined(CONFIGURE_INITIAL_EXTENSIONS)
CONFIGURE_INITIAL_EXTENSIONS,
#endif
+ #if defined(BSP_INITIAL_EXTENSION)
+ BSP_INITIAL_EXTENSION
+ #endif
};
#define CONFIGURE_INITIAL_EXTENSION_TABLE Configuration_Initial_Extensions
More information about the vc
mailing list