blob: c8bfa871f57931e21989c7a164b89e1f2a89cc09 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
Ensures necessary synchronization required after code changes.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 2016 Pavel Pisa
definition:
default:
attributes: null
body: null
params:
- const void *${.:/params[0]/name}
- ${/c/if/size_t:/name} ${.:/params[1]/name}
return: void
variants: []
description: null
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: group
- role: constraint
uid: /constraint/directive-ctx-any
- role: constraint
uid: /constraint/directive-no-preempt
name: rtems_cache_instruction_sync_after_code_change
notes: |
When code is loaded or modified, then most systems require synchronization
instructions to update the instruction caches so that the loaded or modified
code is fetched. For example, systems with separate data and instruction
caches or systems without instruction cache snooping. The directives should
be used by run time loader for example.
params:
- description: |
is the begin address of the code area to synchronize.
dir: null
name: begin
- description: |
is the size in bytes of the code area to synchronize.
dir: null
name: size
return: null
type: interface
|