Add CMM memory model
[urcu.git] / include / urcu / uatomic / riscv.h
1 // SPDX-FileCopyrightText: 2018 Michael Jeanson <mjeanson@efficios.com>
2 //
3 // SPDX-License-Identifier: MIT
4
5 /*
6 * Atomic exchange operations for the RISC-V architecture. Let GCC do it.
7 */
8
9 #ifndef _URCU_ARCH_UATOMIC_RISCV_H
10 #define _URCU_ARCH_UATOMIC_RISCV_H
11
12 #include <urcu/compiler.h>
13 #include <urcu/system.h>
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define UATOMIC_HAS_ATOMIC_BYTE
20 #define UATOMIC_HAS_ATOMIC_SHORT
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #include <urcu/uatomic/generic.h>
27
28 #endif /* _URCU_ARCH_UATOMIC_RISCV_H */
This page took 0.033965 seconds and 4 git commands to generate.