Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimization of compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
<Filename>BaseLibInternals.h</Filename>
|
||||
<Filename>String.c</Filename>
|
||||
<Filename>LinkedList.c</Filename>
|
||||
<Filename>Synchronization.c</Filename>
|
||||
<Filename>Cpu.c</Filename>
|
||||
<Filename>CpuDeadLoop.c</Filename>
|
||||
<Filename>BitField.c</Filename>
|
||||
@@ -73,7 +72,9 @@
|
||||
<Filename>SwapBytes32.c</Filename>
|
||||
<Filename>SwapBytes64.c</Filename>
|
||||
<Filename>SwitchStack.c</Filename>
|
||||
<Filename>CheckSum.c</Filename>
|
||||
<Filename>CheckSum.c</Filename>
|
||||
<Filename ToolChainFamily="GCC">SynchronizationGcc.c</Filename>
|
||||
<Filename ToolChainFamily="MSFT">SynchronizationMsc.c</Filename>
|
||||
<Filename SupArchList="IA32">x86DisablePaging32.c</Filename>
|
||||
<Filename SupArchList="IA32">x86DisablePaging64.c</Filename>
|
||||
<Filename SupArchList="IA32">x86EnablePaging32.c</Filename>
|
||||
|
Reference in New Issue
Block a user