diff options
Diffstat (limited to 'platform/linux-generic/include/odp/plat/cpumask_types.h')
-rw-r--r-- | platform/linux-generic/include/odp/plat/cpumask_types.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp/plat/cpumask_types.h b/platform/linux-generic/include/odp/plat/cpumask_types.h new file mode 100644 index 000000000..6d9e12995 --- /dev/null +++ b/platform/linux-generic/include/odp/plat/cpumask_types.h @@ -0,0 +1,44 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + + +/** + * @file + * + * ODP CPU masks and enumeration + */ + +#ifndef ODP_CPUMASK_TYPES_H_ +#define ODP_CPUMASK_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_compiler_optim + * @{ + */ + +#include <odp/std_types.h> + +/** + * CPU mask + * + * Don't access directly, use access functions. + */ +typedef struct odp_cpumask_t { + cpu_set_t set; /**< @private Mask*/ +} odp_cpumask_t; + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif |