]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
OvmfPkg ResetSystemLib: Fix shutdown via UEFI runtime services
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 18 Jul 2013 22:51:10 +0000 (22:51 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Jul 2013 22:51:10 +0000 (22:51 +0000)
commitd52c2868b4676b5743e235d1a666b920f27022d9
treeba5c4f89274de547e324e6b407525550be687d39
parente3d495e1b9e358038e5e66d871347d59d7c1ba0f
OvmfPkg ResetSystemLib: Fix shutdown via UEFI runtime services

When the PM base address was moved from 0x400 to 0xb000, this
code was missed. This prevented shutdown's via the UEFI system
call from working. (For example, at the EFI shell prompt: reset -s)

We now use gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress
which is currently set at 0xb000.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14492 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf