mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Revert "Kernel: Move Singleton class to AK"
This reverts commit f0906250a1.
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
*/
|
||||
|
||||
#include <AK/Memory.h>
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <Kernel/Thread.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
#include <Kernel/VM/PageDirectory.h>
|
||||
@@ -38,7 +38,7 @@ static const FlatPtr userspace_range_base = 0x00800000;
|
||||
static const FlatPtr userspace_range_ceiling = 0xbe000000;
|
||||
static const FlatPtr kernelspace_range_base = 0xc0800000;
|
||||
|
||||
static auto s_cr3_map = AK::make_singleton<HashMap<u32, PageDirectory*>>();
|
||||
static auto s_cr3_map = make_singleton<HashMap<u32, PageDirectory*>>();
|
||||
|
||||
static HashMap<u32, PageDirectory*>& cr3_map()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user