mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
02313d1e79
commit
75a3814159
@ -102,8 +102,8 @@ UefiPalLibConstructor (
|
|||||||
&gEfiSalSystemTableGuid,
|
&gEfiSalSystemTableGuid,
|
||||||
(VOID **) &SalSystemTable
|
(VOID **) &SalSystemTable
|
||||||
);
|
);
|
||||||
|
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
ASSERT (SalSystemTable != NULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check the first entry of SAL System Table,
|
// Check the first entry of SAL System Table,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user