blob: bf05b9fb481515f1bb9cc0460ba648004e52ec9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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 (http://www.embedded-brains.de)
definition:
default: |
do { } while ( 0 )
variants:
- definition: |
${/if/compiler/asm:/name} volatile( "" ::: "memory" )
enabled-by:
- defined(${/if/compiler/gnuc:/name})
description: null
enabled-by: true
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: group
name: RTEMS_COMPILER_MEMORY_BARRIER
notes: null
params: []
return:
return: null
return-values: []
type: interface
|