2022-04-02 19:56:20 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
* Copyright (c) 2018-2022, James Mintram <me@jamesrm.com>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
2022-08-17 07:38:58 -03:00
|
|
|
#include <Kernel/Arch/aarch64/ASM_wrapper.h>
|
2022-04-02 19:56:20 -03:00
|
|
|
#include <Kernel/Memory/PageDirectory.h>
|
|
|
|
|
|
|
|
|
|
namespace Kernel::Memory {
|
|
|
|
|
|
|
|
|
|
void PageDirectory::register_page_directory(PageDirectory*)
|
|
|
|
|
{
|
2022-04-04 18:06:58 -03:00
|
|
|
VERIFY_NOT_REACHED();
|
2022-04-02 19:56:20 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void PageDirectory::deregister_page_directory(PageDirectory*)
|
|
|
|
|
{
|
2022-04-04 18:06:58 -03:00
|
|
|
VERIFY_NOT_REACHED();
|
2022-04-02 19:56:20 -03:00
|
|
|
}
|
|
|
|
|
|
2022-08-19 15:53:40 -03:00
|
|
|
LockRefPtr<PageDirectory> PageDirectory::find_current()
|
2022-04-02 19:56:20 -03:00
|
|
|
{
|
2022-04-04 18:06:58 -03:00
|
|
|
VERIFY_NOT_REACHED();
|
2022-04-02 19:56:20 -03:00
|
|
|
return nullptr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void activate_kernel_page_directory(PageDirectory const&)
|
|
|
|
|
{
|
2022-08-17 07:38:58 -03:00
|
|
|
// FIXME: Implement this
|
2022-04-02 19:56:20 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void activate_page_directory(PageDirectory const&, Thread*)
|
|
|
|
|
{
|
2022-04-04 18:06:58 -03:00
|
|
|
VERIFY_NOT_REACHED();
|
2022-04-02 19:56:20 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|