diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-21 23:19:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-21 23:19:36 +0000 |
commit | 6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc (patch) | |
tree | 75216d7fabbbe051420f24832c803ac74418ee7d /cpukit/rtems/include/rtems/rtems/part.h | |
parent | 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc.tar.bz2 |
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.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/part.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/part.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/part.h b/cpukit/rtems/include/rtems/rtems/part.h index 75a947d881..0e2eb496c4 100644 --- a/cpukit/rtems/include/rtems/rtems/part.h +++ b/cpukit/rtems/include/rtems/rtems/part.h @@ -16,7 +16,7 @@ * + get a buffer from a partition * + return a buffer to a partition * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -29,6 +29,10 @@ #ifndef _RTEMS_RTEMS_PART_H #define _RTEMS_RTEMS_PART_H +#ifndef RTEMS_PART_EXTERN +#define RTEMS_PART_EXTERN extern +#endif + #ifdef __cplusplus extern "C" { #endif @@ -36,6 +40,8 @@ extern "C" { #include <rtems/score/address.h> #include <rtems/score/object.h> #include <rtems/rtems/attr.h> +#include <rtems/rtems/status.h> +#include <rtems/rtems/support.h> #include <rtems/rtems/types.h> /* @@ -57,7 +63,7 @@ typedef struct { * manage this class of objects. */ -RTEMS_EXTERN Objects_Information _Partition_Information; +RTEMS_PART_EXTERN Objects_Information _Partition_Information; /* * _Partition_Manager_initialization |