mirror of https://github.com/acidanthera/audk.git
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:
parent
d5d56f1bc5
commit
2d5ac15435
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue