mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
IntelFsp2Pkg: BaseCacheLib EfiProgramMtrr MtrrNumber Should be UINT32
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>
This commit is contained in:
parent
d0b6596b8e
commit
91f5d3b410
@ -1,7 +1,7 @@
|
|||||||
## @file
|
## @file
|
||||||
# Instance of BaseCache.
|
# Instance of BaseCache.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#
|
#
|
||||||
@ -15,7 +15,7 @@
|
|||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = CacheLib
|
LIBRARY_CLASS = CacheLib
|
||||||
|
|
||||||
[Sources.IA32]
|
[Sources]
|
||||||
CacheLib.c
|
CacheLib.c
|
||||||
CacheLibInternal.h
|
CacheLibInternal.h
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -164,7 +164,7 @@ EfiRecoverCacheMtrr (
|
|||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
EfiProgramMtrr (
|
EfiProgramMtrr (
|
||||||
IN UINTN MtrrNumber,
|
IN UINT32 MtrrNumber,
|
||||||
IN EFI_PHYSICAL_ADDRESS MemoryAddress,
|
IN EFI_PHYSICAL_ADDRESS MemoryAddress,
|
||||||
IN UINT64 MemoryLength,
|
IN UINT64 MemoryLength,
|
||||||
IN EFI_MEMORY_CACHE_TYPE MemoryCacheType,
|
IN EFI_MEMORY_CACHE_TYPE MemoryCacheType,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user