mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
Kernel: Add bare-minimum implementation for aarch64 Spinlock
This commit is contained in:
parent
9abcb6700c
commit
8e0bd63b0c
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