REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3485
CacheLib EfiProgramMtrr Function takes MTRR number as a input parameter,
in the function the parameter is defined as UINTN were as the caller
calling MTTR number in UINT32.
Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Digant H Solanki <digant.h.solanki@intel.com>
Cc: Sangeetha V <sangeetha.v@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
## @file\r
# Instance of BaseCache.\r
#\r
-# Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = CacheLib\r
\r
-[Sources.IA32]\r
+[Sources]\r
CacheLib.c\r
CacheLibInternal.h\r
\r
/** @file\r
\r
- Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
**/\r
VOID\r
EfiProgramMtrr (\r
- IN UINTN MtrrNumber,\r
+ IN UINT32 MtrrNumber,\r
IN EFI_PHYSICAL_ADDRESS MemoryAddress,\r
IN UINT64 MemoryLength,\r
IN EFI_MEMORY_CACHE_TYPE MemoryCacheType,\r