mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/arm/xlnx-versal: 'Or' the interrupts from the BBRAM and RTC models
Add an orgate and 'or' the interrupts from the BBRAM and RTC models. Signed-off-by: Francisco Iglesias <francisco.iglesias@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Luc Michel <luc@lmichel.fr> Message-id: 20220121161141.14389-3-francisco.iglesias@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
8c1c0a1b72
commit
9a6d491831
3 changed files with 30 additions and 5 deletions
|
@ -85,6 +85,8 @@ struct Versal {
|
|||
XlnxEFuse efuse;
|
||||
XlnxVersalEFuseCtrl efuse_ctrl;
|
||||
XlnxVersalEFuseCache efuse_cache;
|
||||
|
||||
qemu_or_irq apb_irq_orgate;
|
||||
} pmc;
|
||||
|
||||
struct {
|
||||
|
@ -111,8 +113,7 @@ struct Versal {
|
|||
#define VERSAL_GEM1_WAKE_IRQ_0 59
|
||||
#define VERSAL_ADMA_IRQ_0 60
|
||||
#define VERSAL_XRAM_IRQ_0 79
|
||||
#define VERSAL_BBRAM_APB_IRQ_0 121
|
||||
#define VERSAL_RTC_APB_ERR_IRQ 121
|
||||
#define VERSAL_PMC_APB_IRQ 121
|
||||
#define VERSAL_SD0_IRQ_0 126
|
||||
#define VERSAL_EFUSE_IRQ 139
|
||||
#define VERSAL_RTC_ALARM_IRQ 142
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue