mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu: Platform specific C11 atomics compat headers
Added headers to define platform specific sizes and types for the C11 atomics compatibility module for C++.
This commit is contained in:
parent
809d74bca6
commit
314184adb5
71
cpu/arm7_common/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/arm7_common/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/atmega_common/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/atmega_common/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (2U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_SIZE (2U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (2U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (2U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_SIZE_T_SIZE (2U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (2U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
9
cpu/cortexm_common/include/c11_atomics_compat_cpu.hpp
Normal file
9
cpu/cortexm_common/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(__clang__)
|
||||
#include "c11_atomics_compat_cpu/llvm.hpp"
|
||||
#elif defined(__GNUC__)
|
||||
#include "c11_atomics_compat_cpu/gcc.hpp"
|
||||
#else
|
||||
#error "No support for C11 atomics compatibility with C++ for your compiler"
|
||||
#endif
|
71
cpu/cortexm_common/include/c11_atomics_compat_cpu/gcc.hpp
Normal file
71
cpu/cortexm_common/include/c11_atomics_compat_cpu/gcc.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/cortexm_common/include/c11_atomics_compat_cpu/llvm.hpp
Normal file
71
cpu/cortexm_common/include/c11_atomics_compat_cpu/llvm.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/esp32/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/esp32/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/esp8266/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/esp8266/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/fe310/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/fe310/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/mips32r2_common/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/mips32r2_common/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/msp430_common/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/msp430_common/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (2U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_CHAR_SIZE (2U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_SCHAR_SIZE (2U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UCHAR_SIZE (2U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (2U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_SIZE (2U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (2U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (2U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (2U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_SIZE_T_SIZE (2U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (4U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
71
cpu/native/include/c11_atomics_compat_cpu.hpp
Normal file
71
cpu/native/include/c11_atomics_compat_cpu.hpp
Normal file
@ -0,0 +1,71 @@
|
||||
/* This file was automatically generated using ./dist/tools/generate_c11_atomics_cpp_compat_header/generate_c11_atomics_cpp_compat_header.sh */
|
||||
#pragma once
|
||||
|
||||
#define ATOMIC_BOOL_SIZE (1U)
|
||||
#define ATOMIC_BOOL_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_CHAR_SIZE (1U)
|
||||
#define ATOMIC_CHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SCHAR_SIZE (1U)
|
||||
#define ATOMIC_SCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UCHAR_SIZE (1U)
|
||||
#define ATOMIC_UCHAR_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_SHORT_SIZE (2U)
|
||||
#define ATOMIC_SHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_USHORT_SIZE (2U)
|
||||
#define ATOMIC_USHORT_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_SIZE (4U)
|
||||
#define ATOMIC_INT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_SIZE (4U)
|
||||
#define ATOMIC_UINT_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LONG_SIZE (4U)
|
||||
#define ATOMIC_LONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_ULONG_SIZE (4U)
|
||||
#define ATOMIC_ULONG_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_LLONG_SIZE (8U)
|
||||
#define ATOMIC_LLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_ULLONG_SIZE (8U)
|
||||
#define ATOMIC_ULLONG_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_LEAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_LEAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_INT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_UINT_LEAST16_T_SIZE (2U)
|
||||
#define ATOMIC_UINT_LEAST16_T_SAME_SIZED_TYPE uint16_t
|
||||
#define ATOMIC_INT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_LEAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_LEAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_LEAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_LEAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_INT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_UINT_FAST8_T_SIZE (1U)
|
||||
#define ATOMIC_UINT_FAST8_T_SAME_SIZED_TYPE uint8_t
|
||||
#define ATOMIC_INT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST16_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST16_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_INT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINT_FAST32_T_SIZE (4U)
|
||||
#define ATOMIC_UINT_FAST32_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_INT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_INT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINT_FAST64_T_SIZE (8U)
|
||||
#define ATOMIC_UINT_FAST64_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_INTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_UINTPTR_T_SIZE (4U)
|
||||
#define ATOMIC_UINTPTR_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_SIZE_T_SIZE (4U)
|
||||
#define ATOMIC_SIZE_T_SAME_SIZED_TYPE uint32_t
|
||||
#define ATOMIC_PTRDIFF_T_SIZE (8U)
|
||||
#define ATOMIC_PTRDIFF_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_INTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_INTMAX_T_SAME_SIZED_TYPE uint64_t
|
||||
#define ATOMIC_UINTMAX_T_SIZE (8U)
|
||||
#define ATOMIC_UINTMAX_T_SAME_SIZED_TYPE uint64_t
|
Loading…
Reference in New Issue
Block a user