diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-21 17:26:31 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-24 09:22:36 +0100 |
commit | 5be6e614811bae3904b5ea9850dfdcfe6e2bcc08 (patch) | |
tree | 184ac0555e39bb49fbb4353bcf17ebe77786e9ef /cpukit/include | |
parent | rtems: Move rtems_task_priority definition (diff) | |
download | rtems-5be6e614811bae3904b5ea9850dfdcfe6e2bcc08.tar.bz2 |
libtest: Add support to seize/surrender objects
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/test.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index b42bf5f058..10ff665107 100644 --- a/cpukit/include/rtems/test.h +++ b/cpukit/include/rtems/test.h @@ -36,6 +36,7 @@ #ifdef __rtems__ #include <rtems/score/cpu.h> +#include <rtems/rtems/status.h> #endif #ifdef __cplusplus @@ -2512,6 +2513,10 @@ typedef enum { } T_thread_timer_state; T_thread_timer_state T_get_thread_timer_state(uint32_t); + +void *T_seize_objects(rtems_status_code (*)(void *, uint32_t *), void *); + +void T_surrender_objects(void **, rtems_status_code (*)(uint32_t)); #endif /* __rtems__ */ /** |