1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

Kernel: Move Arch/x86/Spinlock.h and add stubs for aarch64

The code in Spinlock.h has no architectural specific logic, thus can be
moved to the Arch directory. This contains no functional change.

Also add the Spinlock.cpp file for aarch64 which contains stubs for the
lock and unlock functions.
This commit is contained in:
Timon Kruiper 2022-05-02 23:56:30 +02:00 committed by Andreas Kling
parent 0d6d4508df
commit 9abcb6700c
6 changed files with 103 additions and 177 deletions

View file

@ -421,6 +421,7 @@ else()
Arch/aarch64/SafeMem.cpp
Arch/aarch64/ScopedCritical.cpp
Arch/aarch64/SmapDisabler.cpp
Arch/aarch64/Spinlock.cpp
Arch/aarch64/init.cpp
Arch/aarch64/vector_table.S