MtrrDebugPrintAllMtrrs() should loop until the max physical address is reached.

GetMemoryCacheTypeFromMtrrType () should return the default memory type instead of UC type for MTRR_CACHE_INVALID_TYPE.

Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15053 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jeff Fan
2014-01-07 06:24:16 +00:00
committed by vanjeff
parent 31c2a2c7c0
commit 44c8400a7d
2 changed files with 11 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
## @file
# MTRR library provides API for MTRR operation
#
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
# 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
@@ -38,4 +38,5 @@
BaseMemoryLib
BaseLib
CpuLib
DebugLib