aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAchin Gupta <achin.gupta@arm.com>2014-05-09 10:03:15 +0100
committerAchin Gupta <achin.gupta@arm.com>2014-05-22 17:46:56 +0100
commite1333f753f2760499ceed5c2d8f816574c3feb02 (patch)
treee3085f1eb529fd97b66f9deccf56bc0307f2b6cd /docs
parentc429b5e93202d6fed7b374c32f2ab0f1a139581d (diff)
downloadtrusted-firmware-a-e1333f753f2760499ceed5c2d8f816574c3feb02.tar.gz
Introduce interrupt registration framework in BL3-1
This patch introduces a framework for registering interrupts routed to EL3. The interrupt routing model is governed by the SCR_EL3.IRQ and FIQ bits and the security state an interrupt is generated in. The framework recognizes three type of interrupts depending upon which exception level and security state they should be handled in i.e. Secure EL1 interrupts, Non-secure interrupts and EL3 interrupts. It provides an API and macros that allow a runtime service to register an handler for a type of interrupt and specify the routing model. The framework validates the routing model and uses the context management framework to ensure that it is applied to the SCR_EL3 prior to entry into the target security state. It saves the handler in internal data structures. An API is provided to retrieve the handler when an interrupt of a particular type is asserted. Registration is expected to be done once by the primary CPU. The same handler and routing model is used for all CPUs. Support for EL3 interrupts will be added to the framework in the future. A makefile flag has been added to allow the FVP port choose between ARM GIC v2 and v3 support in EL3. The latter version is currently unsupported. A framework for handling interrupts in BL3-1 will be introduced in subsequent patches. The default routing model in the absence of any handlers expects no interrupts to be routed to EL3. Change-Id: Idf7c023b34fcd4800a5980f2bef85e4b5c29e649
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/user-guide.md b/docs/user-guide.md
index e7f0df54ce..201db384bf 100644
--- a/docs/user-guide.md
+++ b/docs/user-guide.md
@@ -157,6 +157,10 @@ performed.
* `V`: Verbose build. If assigned anything other than 0, the build commands
are printed. Default is 0
+* `FVP_GIC_ARCH`: Choice of ARM GIC architecture version used by the FVP port
+ for implementing the platform GIC API. This API is used by the interrupt
+ management framework. Default is 2 i.e. version 2.0
+
### Creating a Firmware Image Package
FIPs are automatically created as part of the build instructions described in