From 6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 21 May 2007 23:19:36 +0000 Subject: Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space. --- cpukit/sapi/src/extensiondata.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cpukit/sapi/src/extensiondata.c (limited to 'cpukit/sapi/src/extensiondata.c') diff --git a/cpukit/sapi/src/extensiondata.c b/cpukit/sapi/src/extensiondata.c new file mode 100644 index 0000000000..6057db5ee6 --- /dev/null +++ b/cpukit/sapi/src/extensiondata.c @@ -0,0 +1,23 @@ +/* + * Extension Manager -- Instantiate Data + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +/* instantiate extension data */ +#define SAPI_EXT_EXTERN + +#include +#include + -- cgit v1.2.3