diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-10 12:02:34 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-19 08:39:02 +0100 |
commit | 88826356365754fc269ed63a0f7f4f418b617074 (patch) | |
tree | fe9d2245a443c9d5d063845db8d233d10bc5d14b /cpukit/include/rtems/test.h | |
parent | libtest: Simplify runtime measurement support (diff) | |
download | rtems-88826356365754fc269ed63a0f7f4f418b617074.tar.bz2 |
libtest: Add primitive test case memory allocator
This primitive test case memory allocator uses memory from the low-level
memory information provided by the BSP. At the beginning of each test
case, the memory available to the test case is reinitialized. This
allows the use of a simple allocate only allocator.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index 7d8b131286..ae81aac4d0 100644 --- a/cpukit/include/rtems/test.h +++ b/cpukit/include/rtems/test.h @@ -2463,6 +2463,12 @@ void T_report_hash_sha256(T_event, const char *); void T_check_heap(T_event, const char *); #ifdef __rtems__ +void T_memory_action(T_event, const char *); + +void *T_memory_allocate(size_t); + +void T_memory_deallocate(void *); + void T_check_task_context(T_event, const char *); void T_check_file_descriptors(T_event, const char *); |