OVMF BDS: Don't call BdsLibSaveMemoryTypeInformation

This call can cause a reset, and is most critical for ACPI S3/S4
resume situations.  OVMF does not support S3/S4.

OVMF does not have true non-volatile variable support, so
this call could cause a continuous reset situation in certain
scenarios.  (The BdsLibSaveMemoryTypeInformation may set an
non-volatile variable, and then reset with the assumption that
the variable will still exist during the next boot.)

Additionally, some version of QEMU appear to hang when the
port 64 reset is initiated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10927 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2010-10-13 07:07:16 +00:00
parent a761d49719
commit 3d131d1a20
1 changed files with 1 additions and 2 deletions

View File

@ -110,7 +110,6 @@ Returns:
--*/
{
DEBUG ((EFI_D_INFO, "PlatformBdsInit\n"));
BdsLibSaveMemoryTypeInformation ();
InstallDevicePathCallback ();
LoadVideoRom ();
}