1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:57:34 +00:00

Kernel: Make MemoryManager compile on aarch64

This commit is contained in:
James Mintram 2022-04-02 23:56:20 +01:00 committed by Brian Gianforcaro
parent 6299a69253
commit d79c772c87
10 changed files with 119 additions and 22 deletions

View file

@ -13,8 +13,14 @@
#include <Kernel/Arch/ProcessorSpecificDataID.h>
class VirtualAddress;
namespace Kernel {
namespace Memory {
class PageDirectory;
};
class Thread;
// FIXME This needs to go behind some sort of platform abstraction
@ -41,6 +47,14 @@ public:
return false;
}
ALWAYS_INLINE static void flush_tlb_local(VirtualAddress&, size_t&)
{
}
ALWAYS_INLINE static void flush_tlb(Memory::PageDirectory const*, VirtualAddress const&, size_t)
{
}
ALWAYS_INLINE static u32 current_id()
{
return 0;