mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Added RTEMS API control structure to per task memory usage macro.
This commit is contained in:
1 parent
709b93db98
commit
c3dcd6e9b4
2 files changed
+4
-2
No files matched your search
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user