Rename allocator.rs to io.rs

This commit is contained in:
Yuke Peng 2025-04-13 14:51:04 +08:00 committed by Tate, Hongliang Tian
parent d359cc44d6
commit a038b8401b
2 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@
//! Platform-specific code for the x86 platform.
mod allocator;
pub mod boot;
pub(crate) mod cpu;
pub mod device;
pub(crate) mod ex_table;
mod io;
pub mod iommu;
pub(crate) mod irq;
pub(crate) mod kernel;
@ -18,8 +18,8 @@ pub mod task;
pub mod timer;
pub mod trap;
use allocator::{construct_io_mem_allocator_builder, construct_io_port_allocator_builder};
use cfg_if::cfg_if;
use io::{construct_io_mem_allocator_builder, construct_io_port_allocator_builder};
use spin::Once;
use x86::cpuid::{CpuId, FeatureInfo};