forked from Imagelibrary/rtems
Added RTEMS API control structure to per task memory usage macro.
This commit is contained in:
@@ -60,7 +60,8 @@
|
|||||||
((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
|
((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
|
||||||
|
|
||||||
#define PER_TASK \
|
#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 \
|
#define PER_SEMAPHORE \
|
||||||
(sizeof (Semaphore_Control) + NAME_PTR_SIZE)
|
(sizeof (Semaphore_Control) + NAME_PTR_SIZE)
|
||||||
#define PER_TIMER \
|
#define PER_TIMER \
|
||||||
|
|||||||
@@ -60,7 +60,8 @@
|
|||||||
((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
|
((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
|
||||||
|
|
||||||
#define PER_TASK \
|
#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 \
|
#define PER_SEMAPHORE \
|
||||||
(sizeof (Semaphore_Control) + NAME_PTR_SIZE)
|
(sizeof (Semaphore_Control) + NAME_PTR_SIZE)
|
||||||
#define PER_TIMER \
|
#define PER_TIMER \
|
||||||
|
|||||||
Reference in New Issue
Block a user