diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-17 22:46:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-17 22:46:05 +0000 |
commit | 790b50b8da754eba39e2c21d67bb9b14df966080 (patch) | |
tree | 7f8386fb4eb796d8dc60e421e07f9059278012d2 /cpukit/score/src/wkspace.c | |
parent | 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-790b50b8da754eba39e2c21d67bb9b14df966080.tar.bz2 |
2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/extension.h, sapi/include/rtems/io.h,
sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c,
score/include/rtems/score/mpci.h, score/include/rtems/score/object.h,
score/include/rtems/score/thread.h, score/include/rtems/score/tod.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/wkspace.h, score/src/coretod.c,
score/src/mpci.c, score/src/object.c, score/src/thread.c,
score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and
SuperCore Handler initialization routines to directly pull parameters
from configuration table.
Diffstat (limited to 'cpukit/score/src/wkspace.c')
-rw-r--r-- | cpukit/score/src/wkspace.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index fe18d75e59..181be3bcb5 100644 --- a/cpukit/score/src/wkspace.c +++ b/cpukit/score/src/wkspace.c @@ -16,6 +16,7 @@ #endif #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/score/wkspace.h> #include <rtems/score/interr.h> #include <rtems/config.h> @@ -25,12 +26,14 @@ /* * _Workspace_Handler_initialization */ -void _Workspace_Handler_initialization( - void *starting_address, - size_t size -) +void _Workspace_Handler_initialization(void) { uint32_t memory_available; + void *starting_address; + size_t size; + + starting_address = Configuration.work_space_start; + size = Configuration.work_space_size; if ( !starting_address || !_Addresses_Is_aligned( starting_address ) ) _Internal_error_Occurred( |