diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-19 22:22:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-19 22:22:12 +0000 |
commit | c3dcd6e9b4681607eb8a362fdbd0fa016e5efb1b (patch) | |
tree | d5172dc9d95d4cbc38fe2f6d4f79e7436cc4605a | |
parent | 709b93db98225f1b4c30eee62e53c6aed03cae6d (diff) |
Added RTEMS API control structure to per task memory usage macro.
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 3 | ||||
-rw-r--r-- | 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 \ |