Arm leaves around some functions that use cpu_interrupt(), even for user-mode emulation when the code is unreachable. Pull out the system-mode implementation to a separate file, and add stubs for CONFIG_USER_ONLY. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
37 lines
724 B
C
37 lines
724 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/* QEMU ARM CPU - user-mode emulation stubs for EL2 interrupts
|
|
*
|
|
* These should not really be needed, but CP registers for EL2
|
|
* are not elided by user-mode emulation and they call these
|
|
* functions. Leave them as stubs until it's cleaned up.
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "cpu.h"
|
|
#include "internals.h"
|
|
|
|
void arm_cpu_update_virq(ARMCPU *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void arm_cpu_update_vfiq(ARMCPU *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void arm_cpu_update_vinmi(ARMCPU *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void arm_cpu_update_vfnmi(ARMCPU *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
void arm_cpu_update_vserr(ARMCPU *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|