mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-03 06:40:40 -07:00
include/hw/intc: Remove ifndef CONFIG_USER_ONLY from armv7m_nvic.h
We were hiding a number of declarations from user-only, although it hurts nothing to allow them. The inlines for user-only are unused. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
bcd6d0d60c
commit
a771605798
1 changed files with 0 additions and 14 deletions
|
|
@ -189,21 +189,7 @@ int armv7m_nvic_raw_execution_priority(NVICState *s);
|
|||
* @secure: the security state to test
|
||||
* This corresponds to the pseudocode IsReqExecPriNeg().
|
||||
*/
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
bool armv7m_nvic_neg_prio_requested(NVICState *s, bool secure);
|
||||
#else
|
||||
static inline bool armv7m_nvic_neg_prio_requested(NVICState *s, bool secure)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
bool armv7m_nvic_can_take_pending_exception(NVICState *s);
|
||||
#else
|
||||
static inline bool armv7m_nvic_can_take_pending_exception(NVICState *s)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue