mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-09 05:16:47 +00:00
Rename allocator.rs
to io.rs
This commit is contained in:
parent
d359cc44d6
commit
a038b8401b
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
//! Platform-specific code for the x86 platform.
|
//! Platform-specific code for the x86 platform.
|
||||||
|
|
||||||
mod allocator;
|
|
||||||
pub mod boot;
|
pub mod boot;
|
||||||
pub(crate) mod cpu;
|
pub(crate) mod cpu;
|
||||||
pub mod device;
|
pub mod device;
|
||||||
pub(crate) mod ex_table;
|
pub(crate) mod ex_table;
|
||||||
|
mod io;
|
||||||
pub mod iommu;
|
pub mod iommu;
|
||||||
pub(crate) mod irq;
|
pub(crate) mod irq;
|
||||||
pub(crate) mod kernel;
|
pub(crate) mod kernel;
|
||||||
@ -18,8 +18,8 @@ pub mod task;
|
|||||||
pub mod timer;
|
pub mod timer;
|
||||||
pub mod trap;
|
pub mod trap;
|
||||||
|
|
||||||
use allocator::{construct_io_mem_allocator_builder, construct_io_port_allocator_builder};
|
|
||||||
use cfg_if::cfg_if;
|
use cfg_if::cfg_if;
|
||||||
|
use io::{construct_io_mem_allocator_builder, construct_io_port_allocator_builder};
|
||||||
use spin::Once;
|
use spin::Once;
|
||||||
use x86::cpuid::{CpuId, FeatureInfo};
|
use x86::cpuid::{CpuId, FeatureInfo};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user