From: Bibo Mao<maobibo@loongson.cn>
Move the IPICore structure and corresponding common fields
of LoongsonIPICommonState to "hw/intc/loongson_ipi_common.h".
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 | 17 --------
include/hw/intc/loongson_ipi_common.h | 18 +++++++++
hw/intc/loongson_ipi.c | 56 +++++----------------------
hw/intc/loongson_ipi_common.c | 50 ++++++++++++++++++++++++
4 files changed, 77 insertions(+), 64 deletions(-)