mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 14:02:20 +00:00
Kernel: Add bare-minimum implementation for aarch64 Spinlock
This commit is contained in:
parent
9abcb6700c
commit
8e0bd63b0c
Notes:
sideshowbarker
2024-07-18 00:54:03 +09:00
Author: https://github.com/FireFox317
Commit: 8e0bd63b0c
Pull-request: https://github.com/SerenityOS/serenity/pull/13895
Reviewed-by: https://github.com/nico
1 changed files with 3 additions and 4 deletions
|
@ -6,28 +6,27 @@
|
||||||
|
|
||||||
#include <Kernel/Arch/Spinlock.h>
|
#include <Kernel/Arch/Spinlock.h>
|
||||||
|
|
||||||
|
// FIXME: Actually implement the correct logic once the aarch64 build can
|
||||||
|
// do interrupts and/or has support for multiple processors.
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
u32 Spinlock::lock()
|
u32 Spinlock::lock()
|
||||||
{
|
{
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spinlock::unlock(u32)
|
void Spinlock::unlock(u32)
|
||||||
{
|
{
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 RecursiveSpinlock::lock()
|
u32 RecursiveSpinlock::lock()
|
||||||
{
|
{
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecursiveSpinlock::unlock(u32)
|
void RecursiveSpinlock::unlock(u32)
|
||||||
{
|
{
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue