diff options
Diffstat (limited to 'platform/linux-generic/include/odp/plat/shared_memory_types.h')
-rw-r--r-- | platform/linux-generic/include/odp/plat/shared_memory_types.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp/plat/shared_memory_types.h b/platform/linux-generic/include/odp/plat/shared_memory_types.h new file mode 100644 index 000000000..c044cb935 --- /dev/null +++ b/platform/linux-generic/include/odp/plat/shared_memory_types.h @@ -0,0 +1,39 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + + +/** + * @file + * + * ODP shared memory + */ + +#ifndef ODP_SHARED_MEMORY_TYPES_H_ +#define ODP_SHARED_MEMORY_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_shared_memory ODP SHARED MEMORY + * Operations on shared memory. + * @{ + */ + +typedef uint32_t odp_shm_t; + +#define ODP_SHM_INVALID 0 +#define ODP_SHM_NULL ODP_SHM_INVALID + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif |