hw/openrisc: use right OMPIC size variable
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 3 May 2022 09:45:33 +0000 (11:45 +0200)
committerStafford Horne <shorne@gmail.com>
Sun, 15 May 2022 01:33:01 +0000 (10:33 +0900)
commita92162f4f1dfc2daf1bc8f2bbc3cad3c9d1ea729
treed1da2ced71483501d752df1e6237b84b08c6076b
parent777784bda46847fc0587d711c3aacff8fff3c3f9
hw/openrisc: use right OMPIC size variable

This appears to be a copy and paste error. The UART size was used
instead of the much smaller OMPIC size. But actually that smaller OMPIC
size is wrong too and doesn't allow the IPI to work in Linux. So set it
to the old value.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
[smh:Updated OR1KSIM_OMPIC size to use OR1KSIM_CPUS_MAX]
Signed-off-by: Stafford Horne <shorne@gmail.com>
hw/openrisc/openrisc_sim.c