]> git.proxmox.com Git - mirror_edk2.git/commit
Current IPF version SwitchStack implementation uses loadrs instruction to restore...
authorli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 11 Apr 2012 01:56:48 +0000 (01:56 +0000)
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 11 Apr 2012 01:56:48 +0000 (01:56 +0000)
commitfcbccedb28b6847614cc849b6380282ceaafe7bb
tree16e9491f8ffa99645ef5857484234089820b15f2
parent0779e5bfb0df775cbe02924ef9db4bd58f871ed5
Current IPF version SwitchStack implementation uses loadrs instruction to restore dirty partition of register stack from the backing store, but there is no guarantee to make the backing store valid before. So  add flushrs before loadrs to make sure backing store valid.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Li Kevin <kevin.y.li@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13183 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseLib/Ipf/SwitchStack.s