diff options
author | Petri Savolainen <petri.savolainen@linaro.org> | 2017-01-31 10:07:19 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-02-03 19:51:56 +0300 |
commit | 25ed19ceb50d77614644f6d4a28a0b23dbf1e94f (patch) | |
tree | a999c6165a750b6b815507cda60fe3aa60644d52 /platform/linux-generic/odp_event.c | |
parent | 810fbc9420e23f55e9038410f7f9d6e593537ff3 (diff) |
abi: event: added the first ABI spec file
Used event API as the first example of an ABI spec file. Used
the same default architecture file initially for all
architectures. Default ABI files avoid multiple copies
of the same definition.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/odp_event.c')
-rw-r--r-- | platform/linux-generic/odp_event.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index cc3fb0ad1..d71f4464a 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -38,3 +38,8 @@ void odp_event_free(odp_event_t event) ODP_ABORT("Invalid event type: %d\n", odp_event_type(event)); } } + +uint64_t odp_event_to_u64(odp_event_t hdl) +{ + return _odp_pri(hdl); +} |