blob: 318c90d96682434d7de6fe80f1711a5d0a22d6c0 (
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
47
48
49
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
Restores the previous interrupt level on the current processor.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
default: ${/score/isr/if/local-enable:/name}( ${.:/params[0]/name} )
variants: []
description: |
This directive restores the interrupt level specified by
${.:/params[0]/name} on the current processor.
enabled-by:
not: RTEMS_SMP
index-entries:
- enable interrupts
- restore interrupt level
interface-type: macro
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
- role: constraint
uid: /constraint/interrupt-enable
- role: constraint
uid: ../constraint/no-smp
- role: constraint
uid: /constraint/directive-not-pre-qualified
name: rtems_interrupt_enable
notes: |
The ${.:/params[0]/name} parameter value must be obtained by a previous
call to ${disable:/name} or ${flash:/name}. Using an otherwise obtained
value is undefined behaviour.
This directive is unsuitable to enable particular interrupt sources, for
example in an interrupt controller.
params:
- description: |
is the previous interrupt level to restore. The value must be obtained by
a previous call to ${disable:/name} or ${flash:/name}.
dir: in
name: _isr_cookie
return: null
type: interface
|