arm-trusted-firmware/include/plat/arm/common
David Cunado 9edac0479d Resolve build errors flagged by GCC 6.2
With GCC 6.2 compiler, more C undefined behaviour is being flagged as
warnings, which result in build errors in ARM TF build.

The specific issue that this patch resolves is the use of (1 << 31),
which is predominantly used in case statements, where 1 is represented
as a signed int. When shifted to msb the behaviour is undefined.

The resolution is to specify 1 as an unsigned int using a convenience
macro ULL(). A duplicate macro MAKE_ULL() is replaced.

Fixes ARM-software/tf-issues#438

Change-Id: I08e3053bbcf4c022ee2be33a75bd0056da4073e1
Signed-off-by: David Cunado <david.cunado@arm.com>
2017-01-26 13:47:37 +00:00
..
aarch64 Dump platform-defined regs in crash reporting 2016-04-14 17:50:22 +02:00
arm_config.h Rework use of interconnect drivers 2016-02-16 20:09:49 +00:00
arm_def.h Resolve build errors flagged by GCC 6.2 2017-01-26 13:47:37 +00:00
arm_sip_svc.h Introduce ARM SiP service 2016-10-12 15:36:45 +01:00
plat_arm.h Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00