1 #[macro_use] 2 pub mod asm; 3 mod acpi; 4 mod c_adapter; 5 pub mod cpu; 6 pub mod driver; 7 pub mod elf; 8 pub mod fpu; 9 pub mod init; 10 pub mod interrupt; 11 pub mod ipc; 12 pub mod kvm; 13 pub mod libs; 14 pub mod mm; 15 pub mod msi; 16 pub mod pci; 17 pub mod process; 18 pub mod rand; 19 pub mod sched; 20 pub mod smp; 21 pub mod syscall; 22 pub mod time; 23 24 pub use self::pci::pci::X86_64PciArch as PciArch; 25 26 /// 导出内存管理的Arch结构体 27 pub use self::mm::X86_64MMArch as MMArch; 28 29 pub use interrupt::X86_64InterruptArch as CurrentIrqArch; 30 31 pub use crate::arch::asm::pio::X86_64PortIOArch as CurrentPortIOArch; 32 pub use kvm::X86_64KVMArch as KVMArch; 33 34 pub use crate::arch::ipc::signal::X86_64SignalArch as CurrentSignalArch; 35 pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch; 36 37 pub use crate::arch::elf::X86_64ElfArch as CurrentElfArch; 38 39 pub use crate::arch::smp::X86_64SMPArch as CurrentSMPArch; 40 41 pub use crate::arch::sched::X86_64SchedArch as CurrentSchedArch; 42