summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-01-19 22:22:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-01-19 22:22:12 +0000
commitc3dcd6e9b4681607eb8a362fdbd0fa016e5efb1b (patch)
treed5172dc9d95d4cbc38fe2f6d4f79e7436cc4605a
parent709b93db98225f1b4c30eee62e53c6aed03cae6d (diff)
Added RTEMS API control structure to per task memory usage macro.
-rw-r--r--c/src/tests/sptests/spsize/size.c3
-rw-r--r--testsuites/sptests/spsize/size.c3
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 \