Re: [PATCH v3 12/16] target/riscv: Expose riscv_cpu_pending_to_irq() from cpu_helper.c

2023-07-18 Thread Alistair Francis
On Tue, Jul 11, 2023 at 10:22 PM Philippe Mathieu-Daudé wrote: > > We want to extract TCG/sysemu-specific code from cpu_helper.c, > but some functions call riscv_cpu_pending_to_irq(). Expose the > prototype in "internals.h". > > Signed-off-by: Philippe Mathieu-Daudé Acked-by: Alistair Francis

[PATCH v3 12/16] target/riscv: Expose riscv_cpu_pending_to_irq() from cpu_helper.c

2023-07-11 Thread Philippe Mathieu-Daudé
We want to extract TCG/sysemu-specific code from cpu_helper.c, but some functions call riscv_cpu_pending_to_irq(). Expose the prototype in "internals.h". Signed-off-by: Philippe Mathieu-Daudé --- target/riscv/internals.h | 4 target/riscv/cpu_helper.c | 6 +++--- 2 files changed, 7 inserti