DxeTpmMeasureBootLib: Change global variable name to avoid name conflict.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19334 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2015-12-18 00:53:25 +00:00 committed by ydong10
parent f7de74afdd
commit a00bd8e0e6
1 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
BOOLEAN mMeasureGptTableFlag = FALSE;
UINTN mMeasureGptCount = 0;
VOID *mFileBuffer;
UINTN mImageSize;
UINTN mTpmImageSize;
//
// Measured FV handle cache
//
@ -95,11 +95,11 @@ DxeTpmMeasureBootLibImageRead (
}
EndPosition = FileOffset + *ReadSize;
if (EndPosition > mImageSize) {
*ReadSize = (UINT32)(mImageSize - FileOffset);
if (EndPosition > mTpmImageSize) {
*ReadSize = (UINT32)(mTpmImageSize - FileOffset);
}
if (FileOffset >= mImageSize) {
if (FileOffset >= mTpmImageSize) {
*ReadSize = 0;
}
@ -908,7 +908,7 @@ DxeTpmMeasureBootHandler (
goto Finish;
}
mImageSize = FileSize;
mTpmImageSize = FileSize;
mFileBuffer = FileBuffer;
//