From c3dcd6e9b4681607eb8a362fdbd0fa016e5efb1b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Jan 1996 22:22:12 +0000 Subject: [PATCH] Added RTEMS API control structure to per task memory usage macro. --- c/src/tests/sptests/spsize/size.c | 3 ++- testsuites/sptests/spsize/size.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index 4fb949f14f..918a3b8cb2 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -60,7 +60,8 @@ ((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control )) #define PER_TASK \ - (sizeof (Thread_Control) + NAME_PTR_SIZE + HEAP_OVHD) + (sizeof (Thread_Control) + \ + NAME_PTR_SIZE + HEAP_OVHD + sizeof( RTEMS_API_Control )) #define PER_SEMAPHORE \ (sizeof (Semaphore_Control) + NAME_PTR_SIZE) #define PER_TIMER \ diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 4fb949f14f..918a3b8cb2 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -60,7 +60,8 @@ ((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control )) #define PER_TASK \ - (sizeof (Thread_Control) + NAME_PTR_SIZE + HEAP_OVHD) + (sizeof (Thread_Control) + \ + NAME_PTR_SIZE + HEAP_OVHD + sizeof( RTEMS_API_Control )) #define PER_SEMAPHORE \ (sizeof (Semaphore_Control) + NAME_PTR_SIZE) #define PER_TIMER \