]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/MemDetect.c
OvmfPkg: introduce PublishPeiMemory
authorWei Liu <wei.liu2@citrix.com>
Sun, 8 Dec 2013 01:36:07 +0000 (01:36 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 8 Dec 2013 01:36:07 +0000 (01:36 +0000)
commit36658fff454167c716993cf649f6172361b0e7b2
tree6c96cc618c89698e25b3043137146ee31137608a
parentc7ea55b92b56a7434cb6f5c33fffc76eb1086e08
OvmfPkg: introduce PublishPeiMemory

MemDetect actully does too many things, the underlying platform might
want to have more control over memory layout.

Extract the functionality of publishing PEI memory to a dedicated
function.

Also fixed wrong comment while I was there.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14944 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/PlatformPei/MemDetect.c
OvmfPkg/PlatformPei/Platform.h