1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2019 Intel Corporation
9 * This is header should contain any function/macro definition
10 * which are not supported natively or named differently in the
11 * linux OS. Functions will be added in future releases.
16 typedef cpu_set_t rte_cpuset_t;
17 #define RTE_CPU_AND(dst, src1, src2) CPU_AND(dst, src1, src2)
18 #define RTE_CPU_OR(dst, src1, src2) CPU_OR(dst, src1, src2)
19 #define RTE_CPU_FILL(set) do \
23 for (i = 0; i < CPU_SETSIZE; i++) \
26 #define RTE_CPU_NOT(dst, src) do \
30 CPU_XOR(dst, &tmp, src); \
33 #endif /* _RTE_OS_H_ */