[ros-diffs] [tkreuzer] 44895: [KE] Add a comment to Kii386SpinOnSpinLock that it might be called from HAL with interrupts disabled

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Jan 2 21:07:15 CET 2010


Author: tkreuzer
Date: Sat Jan  2 21:07:14 2010
New Revision: 44895

URL: http://svn.reactos.org/svn/reactos?rev=44895&view=rev
Log:
[KE]
Add a comment to Kii386SpinOnSpinLock that it might be called from HAL with interrupts disabled

Modified:
    branches/ros-amd64-bringup/reactos/ntoskrnl/ke/spinlock.c

Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/spinlock.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskrnl/ke/spinlock.c?rev=44895&r1=44894&r2=44895&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/spinlock.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/spinlock.c [iso-8859-1] Sat Jan  2 21:07:14 2010
@@ -467,6 +467,8 @@
     while (*(volatile KSPIN_LOCK *)SpinLock & 1)
     {
         // FIXME: Check for timeout
+        // Warning: this function might be called from HAL with interrupts
+        // disabled.
 
         /* Yield and keep looping */
         YieldProcessor();




More information about the Ros-diffs mailing list