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

Kernel/aarch64: Stub enough functions to build Random.cpp

Also update Random.cpp such that it builds for aarch64.
This commit is contained in:
Timon Kruiper 2022-10-20 13:17:25 +02:00 committed by Gunnar Beutner
parent a998bba73b
commit cede752cd1
3 changed files with 23 additions and 15 deletions

View file

@ -17,7 +17,6 @@
#include <Kernel/PhysicalAddress.h>
#include <Kernel/Process.h>
#include <Kernel/ProcessExposed.h>
#include <Kernel/Random.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Sections.h>
#include <Kernel/TTY/TTY.h>
@ -25,16 +24,6 @@
#include <Kernel/TimerQueue.h>
#include <Kernel/UserOrKernelBuffer.h>
// Random
namespace Kernel {
void get_fast_random_bytes(Bytes)
{
TODO_AARCH64();
}
}
// Process
char const* asm_signal_trampoline = nullptr;
char const* asm_signal_trampoline_end = nullptr;
@ -337,6 +326,22 @@ bool Thread::WaitQueueBlocker::unblock()
TODO_AARCH64();
}
Thread::WaitQueueBlocker::WaitQueueBlocker(WaitQueue& wait_queue, StringView)
: m_wait_queue(wait_queue)
{
TODO_AARCH64();
}
bool Thread::WaitQueueBlocker::setup_blocker()
{
TODO_AARCH64();
}
Thread::WaitQueueBlocker::~WaitQueueBlocker()
{
TODO_AARCH64();
}
void Thread::WaitBlockerSet::finalize()
{
TODO_AARCH64();