]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/RuntimeDxe/Runtime.c
MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap.
authorElvin Li <elvin.li@intel.com>
Fri, 10 Apr 2015 01:37:41 +0000 (01:37 +0000)
committerli-elvin <li-elvin@Edk2>
Fri, 10 Apr 2015 01:37:41 +0000 (01:37 +0000)
commitb0121d768d7cd25aa39b2140a93740a47f6f1fa0
tree5b97cc75122c49041db4b34906d6e8452b177ae2
parent8e8228564c4b20869e8103e99e12c299686871c1
MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap.

Roll back report status code to original place in RuntimeDriverSetVirtualAddressMap.
Per UEFI spec, the call to SetVirtualAddressMap() must be done with the physical mappings.
We can not assume virtual address could work in SetVirtualAddressMap (), so we can not call
report status code interface with virtual address.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17139 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/RuntimeDxe/Runtime.c