ladybird/Kernel/Arch/aarch64
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
..
RPi Kernel: Move TrapFrame into its own header on aarch64 2022-08-14 09:44:48 +01:00
ASM_wrapper.h Kernel: Set up initial exception stack when going into EL1 on aarch64 2022-05-21 20:23:32 +01:00
boot.S Kernel: Move the aarch64 boot.S out of the Prekernel directory 2022-05-12 23:14:05 +02:00
BootPPMParser.cpp Kernel: Remove Prekernel namespace in the aarch64 Kernel 2022-05-12 23:14:05 +02:00
BootPPMParser.h Kernel: Remove Prekernel namespace in the aarch64 Kernel 2022-05-12 23:14:05 +02:00
CPU.h Kernel: Remove leftover reference to prekernel on aarch64 2022-08-10 15:20:56 -04:00
CrashHandler.cpp Kernel: Add VERIFY_NOT_REACHED to the aarch64 handle_crash function 2022-04-04 14:35:54 -07:00
Dummy.cpp Kernel/aarch64: Add stubs for Mutex::lock and Mutex::unlock 2022-08-26 12:51:57 +02:00
Exceptions.cpp Kernel: Set up initial exception stack when going into EL1 on aarch64 2022-05-21 20:23:32 +01:00
init.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InterruptManagement.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InterruptManagement.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Interrupts.cpp Kernel: Add support for handling interrupts on aarch64 2022-06-02 13:14:12 +01:00
IRQController.h AK+Kernel: Add AK::AtomicRefCounted and use everywhere in the kernel 2022-08-20 17:15:52 +02:00
kprintf.cpp Kernel: Move TrapFrame into its own header on aarch64 2022-08-14 09:44:48 +01:00
linker.ld Kernel: Rounding size of bss to be a multiple of 8 for aarch64 linker.ld 2022-08-06 14:00:54 +01:00
MainIdRegister.cpp Kernel: Remove Prekernel namespace in the aarch64 Kernel 2022-05-12 23:14:05 +02:00
MainIdRegister.h Kernel: Remove Prekernel namespace in the aarch64 Kernel 2022-05-12 23:14:05 +02:00
mcontext.h Kernel: Do not include AK/Platform.h in mcontext headers 2022-05-30 21:39:41 +02:00
MMU.cpp Kernel/aarch64: Properly initialize T0SZ and T1SZ fields in TCR_EL1 2022-08-23 09:23:27 -04:00
PageDirectory.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Panic.cpp Kernel: Move __assertion_failed to aarch64/Panic.cpp 2022-05-12 23:14:05 +02:00
Processor.cpp Kernel: Disable interrupts when halting the aarch64 processor 2022-06-02 13:14:12 +01:00
Processor.h Kernel: Add interrupt related functions to Processor class 2022-06-02 13:14:12 +01:00
Registers.h Kernel: Add DAIF system register to aarch64 registers 2022-06-02 13:14:12 +01:00
RegisterState.h Kernel: Make MemoryManager compile on aarch64 2022-04-02 19:34:20 -07:00
SafeMem.cpp Kernel: Implement safe_memcpy for the aarch64 build 2022-05-03 21:53:36 +02:00
ScopedCritical.cpp Kernel: Add VERIFY_NOT_REACHED to aarch64 locking functions 2022-04-04 14:35:54 -07:00
SerenityLogoRGB.ppm Kernel: Move aarch64 Prekernel into Kernel 2022-03-12 14:54:12 -08:00
SmapDisabler.cpp Kernel: Use default constructors/destructors 2022-03-17 00:51:36 -07:00
Spinlock.cpp Kernel: Use InterruptsState in Spinlock code 2022-08-26 12:51:57 +02:00
TrapFrame.h Kernel: Move TrapFrame into its own header on aarch64 2022-08-14 09:44:48 +01:00
vector_table.S Kernel: Add support for handling interrupts on aarch64 2022-06-02 13:14:12 +01:00