File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/rp2_common/hardware_sync/include/hardware Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ __force_inline static void __sev(void) {
94
94
pico_default_asm_volatile (" sev" );
95
95
#endif
96
96
}
97
+ #else
98
+ // Forward declare so we don't have to #include <arm_acle.h>.
99
+ void __sev (void );
97
100
#endif
98
101
99
102
/* ! \brief Insert a WFE instruction in to the code path.
@@ -110,6 +113,9 @@ __force_inline static void __wfe(void) {
110
113
pico_default_asm_volatile (" wfe" );
111
114
#endif
112
115
}
116
+ #else
117
+ // Forward declare so we don't have to #include <arm_acle.h>.
118
+ void __wfe (void );
113
119
#endif
114
120
115
121
/* ! \brief Insert a WFI instruction in to the code path.
@@ -121,6 +127,9 @@ __force_inline static void __wfe(void) {
121
127
__force_inline static void __wfi (void ) {
122
128
pico_default_asm_volatile (" wfi" );
123
129
}
130
+ #else
131
+ // Forward declare so we don't have to #include <arm_acle.h>.
132
+ void __wfi (void );
124
133
#endif
125
134
126
135
/* ! \brief Insert a DMB instruction in to the code path.
You can’t perform that action at this time.
0 commit comments