diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:45:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-22 16:45:47 +0000 |
commit | a155b3c52df701a82e4ecac907f4a8a08281fcf9 (patch) | |
tree | c177c1fac9f96d813da5d1e55bae3de26d106b39 /c/src/exec | |
parent | added stack allocation fields to the cpu table (diff) | |
download | rtems-a155b3c52df701a82e4ecac907f4a8a08281fcf9.tar.bz2 |
interr.h: added stack allocater error code
wkspace.h: made initialization routine a regular subroutine
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/score/headers/interr.h | 3 | ||||
-rw-r--r-- | c/src/exec/score/headers/wkspace.h | 13 | ||||
-rw-r--r-- | c/src/exec/score/include/rtems/score/interr.h | 3 | ||||
-rw-r--r-- | c/src/exec/score/include/rtems/score/wkspace.h | 13 |
4 files changed, 30 insertions, 2 deletions
diff --git a/c/src/exec/score/headers/interr.h b/c/src/exec/score/headers/interr.h index 655656acc7..b9b2a3c51a 100644 --- a/c/src/exec/score/headers/interr.h +++ b/c/src/exec/score/headers/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/c/src/exec/score/headers/wkspace.h b/c/src/exec/score/headers/wkspace.h index cb82852ca5..9814a707b1 100644 --- a/c/src/exec/score/headers/wkspace.h +++ b/c/src/exec/score/headers/wkspace.h @@ -33,6 +33,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 * * DESCRIPTION: diff --git a/c/src/exec/score/include/rtems/score/interr.h b/c/src/exec/score/include/rtems/score/interr.h index 655656acc7..b9b2a3c51a 100644 --- a/c/src/exec/score/include/rtems/score/interr.h +++ b/c/src/exec/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/c/src/exec/score/include/rtems/score/wkspace.h b/c/src/exec/score/include/rtems/score/wkspace.h index cb82852ca5..9814a707b1 100644 --- a/c/src/exec/score/include/rtems/score/wkspace.h +++ b/c/src/exec/score/include/rtems/score/wkspace.h @@ -33,6 +33,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 * * DESCRIPTION: |