From a155b3c52df701a82e4ecac907f4a8a08281fcf9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Apr 1996 16:45:47 +0000 Subject: interr.h: added stack allocater error code wkspace.h: made initialization routine a regular subroutine --- cpukit/score/include/rtems/score/interr.h | 3 ++- cpukit/score/include/rtems/score/wkspace.h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'cpukit/score/include') diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index 655656acc7..b9b2a3c51a 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -51,7 +51,8 @@ typedef enum { INTERNAL_ERROR_OUT_OF_PACKETS, INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS, INTERNAL_ERROR_OUT_OF_PROXIES, - INTERNAL_ERROR_INVALID_GLOBAL_ID + INTERNAL_ERROR_INVALID_GLOBAL_ID, + INTERNAL_ERROR_BAD_STACK_HOOK } Internal_errors_Core_list; /* diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h index cb82852ca5..9814a707b1 100644 --- a/cpukit/score/include/rtems/score/wkspace.h +++ b/cpukit/score/include/rtems/score/wkspace.h @@ -32,6 +32,19 @@ extern "C" { EXTERN Heap_Control _Workspace_Area; /* executive heap header */ +/* + * _Workspace_Handler_initialization + * + * DESCRIPTION: + * + * This routine performs the initialization necessary for this handler. + */ + +void _Workspace_Handler_initialization( + void *starting_address, + unsigned32 size +); + /* * _Workspace_Allocate_or_fatal_error * -- cgit v1.2.3