ladybird/Kernel/Locking
Timon Kruiper e8aff0c1c8 Kernel: Use InterruptsState in Spinlock code
This commit updates the lock function from Spinlock and
RecursiveSpinlock to return the InterruptsState of the processor,
instead of the processor flags. The unlock functions would only look at
the interrupt flag of the processor flags, so we now use the
InterruptsState enum to clarify the intent, and such that we can use the
same Spinlock code for the aarch64 build.

To not break the build, all the call sites are updated aswell.
2022-08-26 12:51:57 +02:00
..
LockLocation.h Kernel: Add missing includes in Locking 2021-12-15 23:34:11 -08:00
LockMode.h Kernel: Add missing includes in Locking 2021-12-15 23:34:11 -08:00
LockRank.cpp Kernel: Add implied auto-specifiers in Locking 2021-12-15 23:34:11 -08:00
LockRank.h Kernel: Fix a typo in LockRank::Process's comment 2021-09-08 19:17:07 +03:00
Mutex.cpp Kernel: Don't check that interrupts are enabled during early boot 2022-07-19 12:12:13 +01:00
Mutex.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
MutexProtected.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Spinlock.h Kernel: Use InterruptsState in Spinlock code 2022-08-26 12:51:57 +02:00
SpinlockProtected.h Kernel: Require lock rank for Spinlock construction 2022-08-19 20:26:47 -07:00