diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-05-09 11:07:09 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-22 17:47:19 +0100 |
commit | dce74b891e0e6020d0a18384e32f280133631d9b (patch) | |
tree | 232022c199c75994f89796ed4ef094814b800cc1 /bl31/bl31.mk | |
parent | dcc1816c91a63e959330d3a05bb085d0c77fb69a (diff) | |
download | arm-trusted-firmware-dce74b891e0e6020d0a18384e32f280133631d9b.tar.gz |
Introduce interrupt handling framework in BL3-1
This patch adds a common handler for FIQ and IRQ exceptions in the
BL3-1 runtime exception vector table. This function determines the
interrupt type and calls its handler. A crash is reported if an
inconsistency in the interrupt management framework is detected. In
the event of a spurious interrupt, execution resumes from the
instruction where the interrupt was generated.
This patch also removes 'cm_macros.S' as its contents have been moved
to 'runtime_exceptions.S'
Change-Id: I3c85ecf8eaf43a3fac429b119ed0bd706d2e2093
Diffstat (limited to 'bl31/bl31.mk')
-rw-r--r-- | bl31/bl31.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk index 93a60c7..8155f3d 100644 --- a/bl31/bl31.mk +++ b/bl31/bl31.mk @@ -51,3 +51,11 @@ BL31_SOURCES += bl31/bl31_main.c \ services/std_svc/psci/psci_setup.c BL31_LINKERFILE := bl31/bl31.ld.S + +# Flag used by the generic interrupt management framework to determine if +# upon the assertion of an interrupt, it should pass the interrupt id or not +IMF_READ_INTERRUPT_ID := 0 + +$(eval $(call assert_boolean,IMF_READ_INTERRUPT_ID)) +$(eval $(call add_define,IMF_READ_INTERRUPT_ID)) + |