summaryrefslogtreecommitdiffstats
path: root/spec/rtems/sem/val/perf.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/sem/val/perf.yml')
-rw-r--r--spec/rtems/sem/val/perf.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/spec/rtems/sem/val/perf.yml b/spec/rtems/sem/val/perf.yml
index a2e5722e..02e21c21 100644
--- a/spec/rtems/sem/val/perf.yml
+++ b/spec/rtems/sem/val/perf.yml
@@ -45,15 +45,17 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef ${.:/test-context-type} Context;
+ #define EVENT_END RTEMS_EVENT_0
+
+ #define EVENT_OBTAIN RTEMS_EVENT_1
+
+ #define EVENT_OBTAIN_END RTEMS_EVENT_2
- typedef enum {
- EVENT_END = RTEMS_EVENT_0,
- EVENT_OBTAIN = RTEMS_EVENT_1,
- EVENT_OBTAIN_END = RTEMS_EVENT_2,
- EVENT_RELEASE = RTEMS_EVENT_3,
- EVENT_RELEASE_END = RTEMS_EVENT_4
- } Event;
+ #define EVENT_RELEASE RTEMS_EVENT_3
+
+ #define EVENT_RELEASE_END RTEMS_EVENT_4
+
+ typedef ${.:/test-context-type} Context;
static void Send( const Context *ctx, rtems_event_set events )
{