audk/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveState...
jyao1 54e4b37e36 Fix 2 BootScript thunk issue on MEM_POLL.
1)	MEM_POLL stall time is incorrect.
Framework version: Duration is used for Stall(), which is Microseconds.
                   Total time is: Duration(Microseconds) * LoopTimes.
PI version:        Duration is always 100ns. Delay is LoopTimes.
                   Total time is: 100ns * Delay.
So Delay = Duration(Microseconds) * LoopTimes / 100ns
         = Duration * 1000ns * LoopTimes / 100ns
         = Duration * 10 * LoopTimes

2)	MEM_POLL BitMask/BitValue order is incorrect.
Framework version: First BitMask, then BitValue
PI version: First Data, then DataMask
So we revert their order in function call


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11595 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27 07:35:20 +00:00
..
IA32 Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode. 2010-12-22 04:26:08 +00:00
X64 Fix CYG GCC build fail on retf. 2010-12-26 07:25:12 +00:00
BootScriptSaveOnS3SaveStateThunk.inf Don't need to update its copy right. It is same to previous version. 2011-01-28 08:19:23 +00:00
ScriptSave.c Fix 2 BootScript thunk issue on MEM_POLL. 2011-04-27 07:35:20 +00:00
ScriptSave.h Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode. 2010-12-22 04:26:08 +00:00