diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-30 13:02:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-30 13:03:03 +0200 |
commit | 2f48804c69a31be611f6464f660f80e0dc312166 (patch) | |
tree | e7dfaf30b2cf55fdecd32eefab1942ce4491c8f7 /spec/rtems/timer | |
parent | modules: Update rtems (diff) | |
download | rtems-central-2f48804c69a31be611f6464f660f80e0dc312166.tar.bz2 |
generate_membench.py: Add task create workaround
Diffstat (limited to 'spec/rtems/timer')
-rw-r--r-- | spec/rtems/timer/val/mem-srv-init.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/rtems/timer/val/mem-srv-init.yml b/spec/rtems/timer/val/mem-srv-init.yml index 39792987..4ef1fe9d 100644 --- a/spec/rtems/timer/val/mem-srv-init.yml +++ b/spec/rtems/timer/val/mem-srv-init.yml @@ -16,6 +16,21 @@ test-code: | (void) rtems_timer_initiate_server( 0, 0, 0 ); } + static void *task_stack_allocate( size_t size ) + { + (void) size; + return NULL; + } + + static void task_stack_deallocate( void *stack ) + { + (void) stack; + } + + #define CONFIGURE_TASK_STACK_ALLOCATOR task_stack_allocate + + #define CONFIGURE_TASK_STACK_DEALLOCATOR task_stack_deallocate + #define TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES #define TASK_STORAGE_SIZE \ |