aboutsummaryrefslogtreecommitdiff
path: root/include/hw/pci-host
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-06-06 20:43:23 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-06-06 18:12:28 +0000
commit249ad85a4b4ba6e949bba3c5b9932c389e07249c (patch)
tree4cd3dec4dfdc0bb97092812c831150a0180d0a55 /include/hw/pci-host
parent0f4fcf1845fe188901d4ff4cc807bd78690dddd0 (diff)
downloadqemu-249ad85a4b4ba6e949bba3c5b9932c389e07249c.zip
qemu-249ad85a4b4ba6e949bba3c5b9932c389e07249c.tar.gz
qemu-249ad85a4b4ba6e949bba3c5b9932c389e07249c.tar.bz2
hw/intc: Add LoongArch ls7a msi interrupt controller support(PCH-MSI)
This patch realize PCH-MSI interrupt controller. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-34-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/pci-host')
-rw-r--r--include/hw/pci-host/ls7a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/pci-host/ls7a.h b/include/hw/pci-host/ls7a.h
index bf80e99..089d3e5 100644
--- a/include/hw/pci-host/ls7a.h
+++ b/include/hw/pci-host/ls7a.h
@@ -15,6 +15,9 @@
#include "qemu/range.h"
#include "qom/object.h"
+#define LS7A_PCI_MEM_BASE 0x40000000UL
+#define LS7A_PCI_MEM_SIZE 0x40000000UL
+
#define LS7A_PCH_REG_BASE 0x10000000UL
#define LS7A_IOAPIC_REG_BASE (LS7A_PCH_REG_BASE)
#define LS7A_PCH_MSI_ADDR_LOW 0x2FF00000UL