]> git.proxmox.com Git - mirror_edk2.git/commit
1. Duplicate the original boot script data copy, because it may have INSERT boot...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Dec 2012 07:56:59 +0000 (07:56 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Dec 2012 07:56:59 +0000 (07:56 +0000)
commit02f49fc23de22828ed1c0d30a5a0c826f99d0ecf
tree1160d36fbb13059f9320426659831789894fa4e8
parentf2e444778e12758415223eb2b0d5b6d88214eee6
1. Duplicate the original boot script data copy, because it may have INSERT boot script at runtime in SMM. If so, we should use original copy to restore data after OS rewrites the ACPINvs region. Or the data inserted may cause some original boot script data lost.
2. Sync the change into LockBox for S3BootScriptMoveLastOpcode() at runtime in SMM.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13986 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c