]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
OVMF BDS: Don't call BdsLibSaveMemoryTypeInformation
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Oct 2010 07:07:16 +0000 (07:07 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Oct 2010 07:07:16 +0000 (07:07 +0000)
commit3d131d1a207103cf0f5a849c6972a139156d9bd2
tree07360204d6e86248ff24cb56e43d108275c66f84
parenta761d49719501c5b9ab93b8dae54b2f5353cdb2a
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
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c