blob: 5e1065aa541dad65baef4c0501d7f3713cc294ed [file] [log] [blame]
Alice Wang4dd20932023-05-26 13:47:16 +00001// Copyright 2023, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Memory management.
16
17mod dbm;
Pierre-Clément Tosi3d4c5c32023-05-31 16:57:06 +000018mod page_table;
Alice Wangf47b2342023-06-02 11:51:57 +000019mod shared;
20mod util;
Alice Wang4dd20932023-05-26 13:47:16 +000021
22pub use dbm::set_dbm_enabled;
Pierre-Clément Tosi3d4c5c32023-05-31 16:57:06 +000023pub use page_table::{PageTable, MMIO_LAZY_MAP_FLAG};
Alice Wangf47b2342023-06-02 11:51:57 +000024pub use shared::MemorySharer;
25pub use util::{phys_to_virt, virt_to_phys};