diff options
author | Chris Kay <chris.kay@arm.com> | 2020-06-01 18:50:44 +0100 |
---|---|---|
committer | Chris Kay <chris@cjkay.com> | 2020-06-05 19:16:35 +0100 |
commit | e376c365590db77227bd04a880a3df3ffca289b6 (patch) | |
tree | 4788087d9bd75528585698f402691243139e2b9e /product/rddanielxlr/module | |
parent | 60e3381b3f1f9bde47c67976123913119f7f9e8b (diff) |
arch: Move interrupt numbers to CMSIS configuration
Because we compile with `-fshort-enums`, the current CMSIS IRQ
enumeration, which only holds the exception numbers, is reduced in width
to a single 8-bit value. This means that any attempt to convert from a
large interrupt number to an IRQn_Type, which CMSIS does in the next
patch, is not safe.
We fix this by moving the interrupt numbers to the IRQn_Type, so that we
can use the CMSIS APIs to manage these interrupts.
Change-Id: Ic2644b5b97fb6dab412d50b8168597c056727295
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'product/rddanielxlr/module')
-rw-r--r-- | product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c b/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c index 748c8d92..1a234ca1 100644 --- a/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c +++ b/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c @@ -14,7 +14,6 @@ #include "rddanielxlr_sds.h" #include "scp_css_mmap.h" #include "scp_pik.h" -#include "scp_rddanielxlr_irq.h" #include <mod_clock.h> #include <mod_power_domain.h> |