X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FArmRealViewEbPkg%2FInclude%2FPlatform%2FArmPlatform.h;h=f594d69881d96ad0a2e61d79080f0a8d3a3de748;hp=122cf2b03376e0829ea9180b9781c278825478e7;hb=3402aac7d985bf8a9f9d3c639f3fe93609380513;hpb=f4ee7a82342ea532b2590e5d7fe6195f670e9def diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h index 122cf2b033..f594d69881 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h @@ -2,14 +2,14 @@ * Header defining RealView EB constants (Base addresses, sizes, flags) * * Copyright (c) 2011, ARM Limited. All rights reserved. -* -* This program and the accompanying materials -* are licensed and made available under the terms and conditions of the BSD License -* which accompanies this distribution. The full text of the license may be found at -* http://opensource.org/licenses/bsd-license.php * -* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +* This program and the accompanying materials +* are licensed and made available under the terms and conditions of the BSD License +* which accompanies this distribution. The full text of the license may be found at +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. * **/ @@ -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 @@ -119,4 +119,4 @@ #define SYS_CFG_RTC VIRTUAL_SYS_CFG(ARM_EB_UNSUPPORTED,1) -#endif +#endif