diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-14 15:10:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:53 +0100 |
commit | 365456cce3f3cf6da8a1bab9199e4bbd5f240dde (patch) | |
tree | 5fd6841b2e7dc032c0d654b0e0e9b35cab106637 /cpukit/rtems/src/region.c | |
parent | Optional Classic Partition initialization (diff) | |
download | rtems-365456cce3f3cf6da8a1bab9199e4bbd5f240dde.tar.bz2 |
Optional Classic Region initialization
Update #2408.
Diffstat (limited to 'cpukit/rtems/src/region.c')
-rw-r--r-- | cpukit/rtems/src/region.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c index 8f12b5253a..f1c2b23a21 100644 --- a/cpukit/rtems/src/region.c +++ b/cpukit/rtems/src/region.c @@ -20,12 +20,13 @@ #include <rtems/system.h> #include <rtems/config.h> +#include <rtems/sysinit.h> #include <rtems/rtems/status.h> #include <rtems/rtems/support.h> #include <rtems/rtems/options.h> #include <rtems/rtems/regionimpl.h> -#include <rtems/score/thread.h> -#include <rtems/score/apimutex.h> + +Objects_Information _Region_Information; /* * _Region_Manager_initialization @@ -37,7 +38,7 @@ * Output parameters: NONE */ -void _Region_Manager_initialization(void) +static void _Region_Manager_initialization(void) { _Objects_Initialize_information( &_Region_Information, /* object information table */ @@ -67,3 +68,9 @@ void _Region_Manager_initialization(void) #endif } + +RTEMS_SYSINIT_ITEM( + _Region_Manager_initialization, + RTEMS_SYSINIT_CLASSIC_REGION, + RTEMS_SYSINIT_ORDER_MIDDLE +); |