mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 02:43:24 +00:00
Remove jinux-pci and hide PCI ports
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b3799ff9c7
commit
df42397cea
@ -3,5 +3,4 @@
|
||||
|
||||
pub mod cmos;
|
||||
pub mod io_port;
|
||||
pub mod pci;
|
||||
pub mod serial;
|
||||
|
@ -5,6 +5,7 @@ pub mod iommu;
|
||||
pub(crate) mod irq;
|
||||
mod kernel;
|
||||
pub(crate) mod mm;
|
||||
pub(crate) mod pci;
|
||||
pub(crate) mod timer;
|
||||
|
||||
use alloc::fmt;
|
||||
|
@ -1,7 +1,6 @@
|
||||
//! PCI bus io port
|
||||
|
||||
use super::io_port::IoPort;
|
||||
use super::io_port::{ReadWriteAccess, WriteOnlyAccess};
|
||||
use super::device::io_port::{IoPort, ReadWriteAccess, WriteOnlyAccess};
|
||||
|
||||
pub static PCI_ADDRESS_PORT: IoPort<u32, WriteOnlyAccess> = unsafe { IoPort::new(0x0CF8) };
|
||||
pub static PCI_DATA_PORT: IoPort<u32, ReadWriteAccess> = unsafe { IoPort::new(0x0CFC) };
|
@ -1,6 +1,6 @@
|
||||
use core::iter;
|
||||
|
||||
use crate::arch::device::pci::{PCI_ADDRESS_PORT, PCI_DATA_PORT};
|
||||
use crate::arch::pci::{PCI_ADDRESS_PORT, PCI_DATA_PORT};
|
||||
|
||||
use super::cfg_space::PciDeviceCommonCfgOffset;
|
||||
|
||||
|
Reference in New Issue
Block a user