diff options
Diffstat (limited to 'include/drivers/arm/gic_common.h')
-rw-r--r-- | include/drivers/arm/gic_common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/drivers/arm/gic_common.h b/include/drivers/arm/gic_common.h index 6e953a0d..00cbd1d9 100644 --- a/include/drivers/arm/gic_common.h +++ b/include/drivers/arm/gic_common.h @@ -7,6 +7,8 @@ #ifndef __GIC_COMMON_H__ #define __GIC_COMMON_H__ +#include <utils_def.h> + /******************************************************************************* * GIC Distributor interface general definitions ******************************************************************************/ @@ -34,10 +36,10 @@ #define GIC_INTR_CFG_EDGE (1 << 1) /* Constants to categorise priorities */ -#define GIC_HIGHEST_SEC_PRIORITY 0x0 -#define GIC_LOWEST_SEC_PRIORITY 0x7f -#define GIC_HIGHEST_NS_PRIORITY 0x80 -#define GIC_LOWEST_NS_PRIORITY 0xfe /* 0xff would disable all interrupts */ +#define GIC_HIGHEST_SEC_PRIORITY U(0x00) +#define GIC_LOWEST_SEC_PRIORITY U(0x7f) +#define GIC_HIGHEST_NS_PRIORITY U(0x80) +#define GIC_LOWEST_NS_PRIORITY U(0xfe) /* 0xff would disable all interrupts */ /******************************************************************************* * GIC Distributor interface register offsets that are common to GICv3 & GICv2 |