SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | This macro forbids the compiler to reorder read and write commands around it. copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG definition: default: attributes: null body: | do { } while ( 0 ) params: [] return: null variants: - definition: attributes: null body: | ${/compiler/if/asm:/name} volatile( "" ::: "memory" ) params: [] return: null enabled-by: - defined(${/compiler/if/gnuc:/name}) description: null enabled-by: true index-entries: [] interface-type: macro links: - role: interface-placement uid: header - role: interface-ingroup uid: group name: RTEMS_COMPILER_MEMORY_BARRIER notes: null params: [] return: null type: interface