diff --git a/MdeModulePkg/Core/Dxe/SysCall/BootServices.c b/MdeModulePkg/Core/Dxe/SysCall/BootServices.c index 7a00ec8dea..95364f0e08 100644 --- a/MdeModulePkg/Core/Dxe/SysCall/BootServices.c +++ b/MdeModulePkg/Core/Dxe/SysCall/BootServices.c @@ -90,6 +90,7 @@ FindGuid ( OUT UINT32 *CoreSize ) { + ASSERT (Ring3 != NULL); ASSERT (Core != NULL); ASSERT (CoreSize != NULL); @@ -306,6 +307,7 @@ CallBootService ( Argument4 = 0; Argument5 = 0; Argument6 = 0; + Interface = NULL; // // Check User variables. //