From 2575b72620a9d90af26d9863b4a0675079c1c019 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 4 Jul 2012 20:06:23 +0000 Subject: ArmPkg: Fixed RVCT compiler warnings Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13490 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h | 6 +++--- .../Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'ArmPlatformPkg/ArmRealViewEbPkg') diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h index 122cf2b033..291d676d30 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h @@ -104,9 +104,9 @@ // L2x0 Cache Controller Base Address //#define ARM_EB_L2x0_CTLR_BASE 0x1E00A000*/ -#define ARM_EB_SYS_PROC_ID_MASK (0xFF << 24) -#define ARM_EB_SYS_PROC_ID_CORTEX_A8 (0x0E << 24) -#define ARM_EB_SYS_PROC_ID_CORTEX_A9 (0x0C << 24) +#define ARM_EB_SYS_PROC_ID_MASK (UINT32)(0xFFU << 24) +#define ARM_EB_SYS_PROC_ID_CORTEX_A8 (UINT32)(0x0EU << 24) +#define ARM_EB_SYS_PROC_ID_CORTEX_A9 (UINT32)(0x0CU << 24) /******************************************* // System Configuration Control diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm index 1765dd13aa..e8bc0cd0b4 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm @@ -54,3 +54,5 @@ ArmPlatformSecBootAction ArmPlatformSecBootMemoryInit // The SMC does not need to be initialized for RTSM bx lr + + END -- cgit v1.2.3