Fix a bug that a NULL pointer may be dereferenced.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10178 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3 2010-03-04 05:42:44 +00:00
parent d5d56f1bc5
commit 2d5ac15435
1 changed files with 4 additions and 4 deletions

View File

@ -1109,11 +1109,11 @@ SmmIplEntry (
);
if (!EFI_ERROR (Status) && LMFAConfigurationTable != NULL) {
LMFAConfigurationTable->SmramBase = mCurrentSmramRange->CpuStart;
//
// Print the SMRAM base
//
DEBUG ((EFI_D_INFO, "LOADING MODULE FIXED INFO: TSEG BASE is %x. \n", LMFAConfigurationTable->SmramBase));
}
//
// Print the SMRAM base
//
DEBUG ((EFI_D_INFO, "LOADING MODULE FIXED INFO: TSEG BASE is %x. \n", LMFAConfigurationTable->SmramBase));
}
//
// Load SMM Core into SMRAM and execute it from SMRAM