mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
1eeffbeb11
openrisc_sim_net_init() attempts to connect the IRQ line from the ethernet device to both CPUs in an SMP configuration by simply caling sysbus_connect_irq() for it twice. This doesn't work, because the second connection simply overrides the first. Fix this by creating a TYPE_SPLIT_IRQ to split the IRQ in the SMP case. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stafford Horne <shorne@gmail.com> Message-id: 20201127225127.14770-2-peter.maydell@linaro.org
7 lines
106 B
Plaintext
7 lines
106 B
Plaintext
config OR1K_SIM
|
|
bool
|
|
select SERIAL
|
|
select OPENCORES_ETH
|
|
select OMPIC
|
|
select SPLIT_IRQ
|