Hi, Richard.
On 07/23/2021 06:47 AM, Richard Henderson wrote:
> On 7/20/21 11:53 PM, Song Gao wrote:
>> +bool loongarch_cpu_exec_interrupt(CPUState *cs, int interrupt_request)
>> +{
>> + if (interrupt_request & CPU_INTERRUPT_HARD) {
>> + LoongArchCPU *cpu = LOONGARCH_CPU(cs);
>> +
On 7/20/21 11:53 PM, Song Gao wrote:
+bool loongarch_cpu_exec_interrupt(CPUState *cs, int interrupt_request)
+{
+if (interrupt_request & CPU_INTERRUPT_HARD) {
+LoongArchCPU *cpu = LOONGARCH_CPU(cs);
+CPULoongArchState *env = &cpu->env;
+
+if (cpu_loongarch_hw_interrupt
This patch introduces functions loongarch_cpu_do_interrupt()
and loongarch_cpu_exec_interrupt()
Signed-off-by: Song Gao
---
target/loongarch/cpu.c | 23 +++
target/loongarch/cpu.h | 25 +
2 files changed, 48 insertions(+)
diff --git a/target/loongarch