mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
loader: remove unused imports
This commit is contained in:
parent
d4a85c7efa
commit
e7eb9ece2b
5 changed files with 203 additions and 210 deletions
|
|
@ -1,12 +1,12 @@
|
|||
use core::{mem, slice};
|
||||
|
||||
#[cfg(feature = "atsama5d27")]
|
||||
pub use armv7::{
|
||||
PhysicalAddress, VirtualAddress,
|
||||
use armv7::{
|
||||
VirtualAddress,
|
||||
structures::paging::{
|
||||
InMemoryRegister, PageTable as L2PageTable, PageTableDescriptor, PageTableMemory,
|
||||
PageTableType, Readable, TranslationTable, TranslationTableDescriptor, TranslationTableMemory,
|
||||
TranslationTableType, Writeable, PAGE_TABLE_FLAGS, PAGE_TABLE_SIZE, SMALL_PAGE_FLAGS,
|
||||
InMemoryRegister, PageTableDescriptor,
|
||||
Readable, TranslationTableDescriptor, TranslationTableMemory,
|
||||
TranslationTableType, SMALL_PAGE_FLAGS,
|
||||
}
|
||||
};
|
||||
use crate::*;
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
use core::mem;
|
||||
use core::num::NonZeroUsize;
|
||||
|
||||
pub use armv7::structures::paging::{
|
||||
use armv7::structures::paging::{
|
||||
PageTable as L2PageTable, TranslationTable, TranslationTableDescriptor,
|
||||
TranslationTableType, PageTableDescriptor, PAGE_TABLE_SIZE, PageTableType,
|
||||
TranslationTableType, PageTableDescriptor, PageTableType,
|
||||
TranslationTableMemory, PageTableMemory,
|
||||
PAGE_TABLE_FLAGS, SMALL_PAGE_FLAGS,
|
||||
};
|
||||
pub use armv7::{PhysicalAddress, VirtualAddress};
|
||||
use armv7::{PhysicalAddress, VirtualAddress};
|
||||
use crate::consts::{
|
||||
FLG_R, FLG_U, FLG_VALID, FLG_W, FLG_X, GUARD_MEMORY_BYTES, KERNEL_ARGUMENT_OFFSET,
|
||||
LOADER_CODE_ADDRESS, PAGE_TABLE_OFFSET, KERNEL_STACK_PAGE_COUNT,
|
||||
|
|
|
|||
|
|
@ -3,13 +3,12 @@
|
|||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
use atsama5d27::uart::{Uart as UartHw, Uart1};
|
||||
pub use armv7::structures::paging::{
|
||||
PageTable as L2PageTable, TranslationTable, TranslationTableDescriptor,
|
||||
TranslationTableType, PageTableDescriptor, PAGE_TABLE_SIZE, PageTableType,
|
||||
use armv7::structures::paging::{
|
||||
PageTable as L2PageTable, TranslationTable,
|
||||
TranslationTableType, PageTableType,
|
||||
TranslationTableMemory, PageTableMemory,
|
||||
PAGE_TABLE_FLAGS, SMALL_PAGE_FLAGS,
|
||||
};
|
||||
pub use armv7::{PhysicalAddress, VirtualAddress};
|
||||
use armv7::PhysicalAddress;
|
||||
|
||||
type UartType = UartHw<Uart1>;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,13 +7,7 @@ use crate::{
|
|||
println, BootConfig, ProgramDescription,
|
||||
XousPid, PAGE_SIZE, STACK_PAGE_COUNT, VDBG,
|
||||
};
|
||||
pub use armv7::structures::paging::{
|
||||
PageTable as L2PageTable, TranslationTable, TranslationTableDescriptor,
|
||||
TranslationTableType, PageTableDescriptor, PAGE_TABLE_SIZE, PageTableType,
|
||||
TranslationTableMemory, PageTableMemory,
|
||||
PAGE_TABLE_FLAGS, SMALL_PAGE_FLAGS,
|
||||
};
|
||||
pub use armv7::{PhysicalAddress, VirtualAddress};
|
||||
use armv7::structures::paging::TranslationTableMemory;
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue