[temp] allow dead_code while this code is experimental and unused
This commit is contained in:
parent
c1e0a8f3dd
commit
2b6f1bedf4
|
@ -10,6 +10,8 @@
|
|||
//! [ARMv8 ARM memory addressing](https://static.docs.arm.com/100940/0100/armv8_a_address%20translation_100940_0100_en.pdf).
|
||||
//! It includes ideas from Sergio Benitez' cs140e OSdev course material on type-safe access.
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
use crate::memory::PageSize;
|
||||
use {
|
||||
crate::memory::{
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
// @fixme x86_64 page level numbering: P4 -> P3 -> P2 -> P1
|
||||
// @fixme armv8a page level numbering: L0 -> L1 -> L2 -> L3
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
use {
|
||||
crate::memory::{
|
||||
page_size::{NotGiantPageSize, PageSize, Size1GiB, Size2MiB, Size4KiB},
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![allow(dead_code)]
|
||||
|
||||
use crate::{memory::PhysAddr, println, sync};
|
||||
|
||||
#[derive(Default, Copy, Clone)]
|
||||
|
|
Loading…
Reference in New Issue