summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/val/perf.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/task/val/perf.yml')
-rw-r--r--spec/rtems/task/val/perf.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/rtems/task/val/perf.yml b/spec/rtems/task/val/perf.yml
index f299b8b0..984f6c08 100644
--- a/spec/rtems/task/val/perf.yml
+++ b/spec/rtems/task/val/perf.yml
@@ -43,13 +43,13 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef ${.:/test-context-type} Context;
+ #define EVENT_RESTART RTEMS_EVENT_0
+
+ #define EVENT_SET_END RTEMS_EVENT_1
- enum {
- EVENT_RESTART = RTEMS_EVENT_0,
- EVENT_SET_END = RTEMS_EVENT_1,
- EVENT_BUSY = RTEMS_EVENT_2
- } Event;
+ #define EVENT_BUSY RTEMS_EVENT_2
+
+ typedef ${.:/test-context-type} Context;
RTEMS_ALIGNED( RTEMS_TASK_STORAGE_ALIGNMENT ) static char task_storage[
RTEMS_TASK_STORAGE_SIZE(