]> Git Repo - qemu.git/commit
accel/tcg: Rename user-mode do_interrupt hack as fake_user_interrupt
authorPhilippe Mathieu-Daudé <[email protected]>
Sat, 11 Sep 2021 16:54:15 +0000 (18:54 +0200)
committerRichard Henderson <[email protected]>
Tue, 14 Sep 2021 19:00:21 +0000 (12:00 -0700)
commit120964219d7cb6c72ae629a7a71ff9c45a9c8a9b
treeae1f7fe15a43c833aa4ea5ac54fb45906f0b2541
parentb40db05daa35d2d0186a47463338ddc8730d0c5c
accel/tcg: Rename user-mode do_interrupt hack as fake_user_interrupt

do_interrupt() is sysemu specific. However due to some X86
specific hack, it is also used in user-mode emulation, which
is why it couldn't be restricted to CONFIG_SOFTMMU (see the
comment around added in commit 78271684719: "cpu: tcg_ops:
move to tcg-cpu-ops.h, keep a pointer in CPUClass").
Keep the hack but rename the handler as fake_user_interrupt()
and restrict do_interrupt() to sysemu.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Warner Losh <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20210911165434[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/cpu-exec.c
include/hw/core/tcg-cpu-ops.h
target/i386/tcg/tcg-cpu.c
This page took 0.025212 seconds and 4 git commands to generate.