mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
StandaloneMmPkg: Assert if dispatcher fails memory allocation
If the Dispatcher fails to allocate memory for the driver that it is trying to load then ASSERT, else the Dispatcher silently stops loading subsequent drivers from the FV. Signed-off-by: Girish Mahadevan <gmahadevan@nvidia.com> Reviewed-by: Jeff Brasen <jbrasen@nvidia.com>
This commit is contained in:
parent
3ac092cf72
commit
107981f3f0
@ -144,6 +144,7 @@ MmLoadImage (
|
|||||||
&DstBuffer
|
&DstBuffer
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
|
ASSERT_EFI_ERROR (Status);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user