From: Bibo Mao<maobibo@loongson.cn>
It is easier to manage one array of MMIO MR rather
than one per vCPU.
Signed-off-by: Bibo Mao<maobibo@loongson.cn>
[PMD: Extracted from bigger commit, added commit description]
Co-Developed-by: Philippe Mathieu-Daudé<philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
Reviewed-by: Bibo Mao<maobibo@loongson.cn>
Tested-by: Bibo Mao<maobibo@loongson.cn>
---
include/hw/intc/loongson_ipi.h | 2 +-
hw/intc/loongson_ipi.c | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)