mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:43:05 +00:00
[FREELDR][MINIHAL] Move KefAcquireSpinLockAtDpcLevel stub back to HAL, #ifdef'ed in _MINIHAL_ where it's only needed.
This commit is contained in:
parent
242e0b4303
commit
c026b5950e
2 changed files with 14 additions and 15 deletions
|
@ -28,6 +28,19 @@ KSPIN_LOCK HalpSystemHardwareLock;
|
|||
|
||||
#ifdef _M_IX86
|
||||
|
||||
#ifdef _MINIHAL_
|
||||
VOID
|
||||
FASTCALL
|
||||
KefAcquireSpinLockAtDpcLevel(
|
||||
IN PKSPIN_LOCK SpinLock)
|
||||
{
|
||||
#if DBG
|
||||
/* To be on par with HAL/NTOSKRNL */
|
||||
*SpinLock = (KSPIN_LOCK)KeGetCurrentThread() | 1;
|
||||
#endif
|
||||
}
|
||||
#endif /* defined(_MINIHAL_) */
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -205,6 +218,7 @@ KeTryToAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber,
|
|||
return KeTryToAcquireSpinLockAtDpcLevel(Lock);
|
||||
}
|
||||
#endif /* !defined(_MINIHAL_) */
|
||||
|
||||
#endif /* defined(_M_IX86) */
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue