Add a comment to Kii386SpinOnSpinLock that it might be called from HAL with interrupts disabled

svn path=/branches/ros-amd64-bringup/; revision=44895
This commit is contained in:
Timo Kreuzer 2010-01-02 20:07:14 +00:00
parent 909e90aceb
commit 3db737a298

View file

@ -467,6 +467,8 @@ Kii386SpinOnSpinLock(PKSPIN_LOCK SpinLock, ULONG Flags)
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();