aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp/platform_types.h
blob: a77ee7cf2676c0c4ff25aba0e38dd3f693b0ec6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Copyright (c) 2014, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */


/**
 * @file
 * ODP implementation types
 * This file contains all of the implementation-defined types for ODP abstract
 * definitions. Having this in one file means that other ODP API files are
 * implementation-independent and avoids circular dependencies for files that
 * refer to types managed by other components. Included here are typedefs and
 * related typed constants that are referenced by other ODP API files.
 */

#ifndef ODP_IMPL_TYPES_H_
#define ODP_IMPL_TYPES_H_

#include <odp/std_types.h>
#include <odp/plat/buffer_types.h>

/** @defgroup odp_platform_types ODP PLATFORM TYPES
 *  Implementation specific definitions for ODP abstract types.
 *  @{
 */

/** ODP event */
typedef odp_buffer_t odp_event_t;

/** Invalid event */
#define ODP_EVENT_INVALID ODP_BUFFER_INVALID

/**
 * @}
 */

#endif