1.When cpu read or write extioi COREISR reg, it should access
the reg belonged to itself, so the index of 's->coreisr' is
current cpu number. Using MemTxAttrs' requester_type and id
to get the cpu index.
2.Remove the unused extioi system memory region and we only
support the extioi iocsr memory region now.
Based-on:<20220927141504.3886314-1-alex.bennee@linaro.org>
Signed-off-by: Xiaojuan Yang<yangxiaojuan@loongson.cn>
---
hw/intc/loongarch_extioi.c | 51 +++++++++++++++++++--------------
hw/intc/trace-events | 2 +-
target/loongarch/iocsr_helper.c | 16 +++++------
3 files changed, 38 insertions(+), 31 deletions(-)