OSDN Git Service

target/riscv: Restrict cpu_exec_interrupt() handler to sysemu
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Sep 2021 16:54:28 +0000 (18:54 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 14 Sep 2021 19:00:21 +0000 (12:00 -0700)
commit17b3c353e6aa4627d2418714cf2431853da45e31
tree82afb89f796b1f3aa2777649b905004a6b07a0a8
parentf725245c527c96e4333e9bf3ed38635ee8c9fcbc
target/riscv: Restrict cpu_exec_interrupt() handler to sysemu

Restrict cpu_exec_interrupt() and its callees to sysemu.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210911165434.531552-19-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/cpu_helper.c