diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-12 08:53:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-13 08:35:21 +0100 |
commit | 782113767f3e60389423c169f5c337ec3fb50feb (patch) | |
tree | 4f9e54b2def4cd74c704049c4c4bce99aa17aed9 /cpukit/include/rtems | |
parent | config: Statically allocate MP object controls (diff) | |
download | rtems-782113767f3e60389423c169f5c337ec3fb50feb.tar.bz2 |
score: Remove _Workspace_Allocate_or_fatal_error()
This function is unused.
Update #3735.
Diffstat (limited to 'cpukit/include/rtems')
-rw-r--r-- | cpukit/include/rtems/score/interr.h | 2 | ||||
-rw-r--r-- | cpukit/include/rtems/score/wkspace.h | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index 544ad7ab9e..e57c415eed 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/include/rtems/score/interr.h @@ -166,7 +166,7 @@ typedef enum { /* INTERNAL_ERROR_NO_CONFIGURATION_TABLE = 0, */ /* INTERNAL_ERROR_NO_CPU_TABLE = 1, */ INTERNAL_ERROR_TOO_LITTLE_WORKSPACE = 2, - INTERNAL_ERROR_WORKSPACE_ALLOCATION = 3, + /* INTERNAL_ERROR_WORKSPACE_ALLOCATION = 3, */ /* INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL = 4, */ INTERNAL_ERROR_THREAD_EXITTED = 5, INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION = 6, diff --git a/cpukit/include/rtems/score/wkspace.h b/cpukit/include/rtems/score/wkspace.h index 41ea1d2e24..8428c9f957 100644 --- a/cpukit/include/rtems/score/wkspace.h +++ b/cpukit/include/rtems/score/wkspace.h @@ -102,21 +102,6 @@ void _Workspace_Free( ); /** - * @brief Allocates workspace or fails with fatal error. - * - * This routine returns the address of a block of memory of @a size - * bytes. If a block of the appropriate size cannot be allocated - * from the workspace, then the internal error handler is invoked. - * - * @param size is the desired number of bytes to allocate - * - * @return The starting address of the allocated memory. - */ -void *_Workspace_Allocate_or_fatal_error( - size_t size -); - -/** * @brief Duplicates string with memory from the workspace. * * @param string The pointer to a zero terminated string. |