mirror of
https://github.com/reactos/reactos.git
synced 2024-07-13 16:15:05 +00:00
![]() * The functions now disable interrupts as they should. This is a core functionality of the ExInterlocked functions which we did not do. * The functions now preserve EFLAGS as they should. This is another core functionality and point of ExInterlocked functions, which we did not do. * Use KiAcquire/ReleaseSpinlock equivalents instead of going through HAL. Also make them macros which can be later used in other assembly files. * Write optimized versions for non-SMP machines. Namely, the spinlock macros are coded to be no-ops on UP machines, since they are not needed. * Write all functions in assembly, so we can cleanly optimize them and properly restore/save EFLAGS and use CLI. - Use the right interlocked macro in guarded mutex implementation. - Fix export of Exi386InterlockedExchangeUlong - Use documented EFLAGS definition instead of hard-coded value in some interlocked functions. svn path=/trunk/; revision=20474 |
||
---|---|---|
cis | ||
irc | ||
msvc6 | ||
os2 | ||
posix | ||
reactos | ||
rosapps | ||
rosky | ||
vms |