summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/devolatile-0.yml
blob: ec17a96de08f4e0bb41ccdea7b2a41b2a055c38f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/devolatile
rationale: null
references: []
requirement-type: functional
text: |
  When ${../if/devolatile:/params[0]/name} is a non-volatile pointer type,
  and ${../if/devolatile:/params[1]/name} is a pointer to a value of
  volatile type,
  and the types of ${../if/devolatile:/params[0]/name} and
  ${../if/devolatile:/params[1]/name} are compatible in the sense of C,
  the macro ${../if/devolatile:/name} shall result in an expression
  which returns a pointer of type ${../if/devolatile:/params[0]/name} pointing
  to the same address as ${../if/devolatile:/params[1]/name}.
type: requirement