2021-03-07 15:28:28 -05:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
2022-09-21 09:26:27 -04:00
|
|
|
* Copyright (c) 2022, Timon Kruiper <timonkruiper@gmail.com>
|
2021-03-07 15:28:28 -05:00
|
|
|
*
|
2021-04-22 04:24:48 -04:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-03-07 15:28:28 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-12-01 12:14:03 -05:00
|
|
|
#include <AK/Platform.h>
|
|
|
|
|
2022-10-03 20:05:54 -04:00
|
|
|
#if ARCH(X86_64)
|
2022-10-04 06:46:11 -04:00
|
|
|
# include <Kernel/Arch/x86_64/PageDirectory.h>
|
2022-09-21 09:26:27 -04:00
|
|
|
#elif ARCH(AARCH64)
|
|
|
|
# include <Kernel/Arch/aarch64/PageDirectory.h>
|
2023-11-02 18:21:09 -04:00
|
|
|
#elif ARCH(RISCV64)
|
|
|
|
# include <Kernel/Arch/riscv64/PageDirectory.h>
|
2022-09-21 09:26:27 -04:00
|
|
|
#else
|
|
|
|
# error "Unknown architecture"
|
|
|
|
#endif
|