page_table/lib.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Methods to construct page tables.
5
6#![expect(missing_docs)]
7#![forbid(unsafe_code)]
8
9pub mod aarch64;
10pub mod x64;
11
12/// Size of the initial identity map
13#[derive(Debug, Copy, Clone)]
14pub enum IdentityMapSize {
15 /// Identity-map the bottom 4GB
16 Size4Gb,
17 /// Identity-map the bottom 8GB
18 Size8Gb,
19}