summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-14 14:48:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-14 14:48:38 +0000
commit7c411bda5ba29eb8fb5be3841626a485c0d650cb (patch)
tree049b9b8b77421704c34c29ad0d9a940ff0025f4c /cpukit/score/src
parent2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-7c411bda5ba29eb8fb5be3841626a485c0d650cb.tar.bz2
2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/wkspace.c: Removed work space area consistency checks. * libblock/include/rtems/ide_part_table.h: Functions are now deprecated. * libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c, libcsupport/src/malloc_boundary.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_report_statistics_plugin.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c, rtems/inline/rtems/rtems/region.inl: Update for heap API changes. 2009-09-14 Christian Mauderer <christian.mauderer@embedded-brains.de> * libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the pointer to the string is NULL.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/wkspace.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c
index fe6a4889c0..771b93c2d2 100644
--- a/cpukit/score/src/wkspace.c
+++ b/cpukit/score/src/wkspace.c
@@ -33,19 +33,9 @@
*/
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(
- INTERNAL_ERROR_CORE,
- true,
- INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS
- );
+ uintptr_t memory_available = 0;
+ void *starting_address = Configuration.work_space_start;
+ uintptr_t size = Configuration.work_space_size;
if ( Configuration.do_zero_of_workspace )
memset( starting_address, 0, size );