OSDN Git Service

target/nios2: Create IRQs *after* accelerator vCPU is realized
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 15 Sep 2023 15:23:47 +0000 (17:23 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (13:08 +0100)
commitc61b18a5d0562851b933cd2fdc61cf21ea1be270
tree0322b6fa6a889b52fc6460c77827d8ae2aa9d718
parent571568a173dfae14c27ef0db9fd2f7b77f0e4bad
target/nios2: Create IRQs *after* accelerator vCPU is realized

Architecture specific hardware doesn't have a particular dependency
on the accelerator vCPU (created with cpu_exec_realizefn), and can
be initialized *after* the vCPU is realized. Doing so allows further
generic API simplification (in few commits).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230918160257.30127-12-philmd@linaro.org>
target/nios2/cpu.c