From: Bibo Mao<maobibo@loongson.cn>
Allow Loongson IPI implementations to have their own get_iocsr_as()
handler.
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_common.h | 2 ++
hw/intc/loongson_ipi.c | 16 ++++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)