xref: /DragonOS/kernel/src/arch/x86_64/mod.rs (revision fbe6becd6dd3cd72643707e0088f20364ac1b166)
166f67c6aSlogin #[macro_use]
266f67c6aSlogin pub mod asm;
3d7f5742aSLoGin mod acpi;
4d7f5742aSLoGin mod c_adapter;
566f67c6aSlogin pub mod cpu;
6*fbe6becdSLoGin pub mod driver;
778bf93f0SYJwu2023 pub mod fpu;
81a2eaa40Slogin pub mod interrupt;
91496ba7bSLoGin pub mod ipc;
1040314b30SXiaoye Zheng pub mod kvm;
1140fe15e0SLoGin pub mod libs;
12d4f3de93Slogin pub mod mm;
13cc36cf4aSYJwu2023 pub mod msi;
1478bf93f0SYJwu2023 pub mod pci;
151496ba7bSLoGin pub mod process;
1613776c11Slogin pub mod rand;
17d4f3de93Slogin pub mod sched;
18d7f5742aSLoGin pub mod setup;
191496ba7bSLoGin pub mod smp;
20ab5c8ca4Slogin pub mod syscall;
21*fbe6becdSLoGin pub mod time;
22f678331aShanjiezhou 
2340fe15e0SLoGin pub use self::pci::pci::X86_64PciArch as PciArch;
2440fe15e0SLoGin 
2540fe15e0SLoGin /// 导出内存管理的Arch结构体
2640fe15e0SLoGin pub use self::mm::X86_64MMArch as MMArch;
2740fe15e0SLoGin 
28f678331aShanjiezhou pub use interrupt::X86_64InterruptArch as CurrentIrqArch;
29a03c4f9dSLoGin 
30a03c4f9dSLoGin pub use crate::arch::asm::pio::X86_64PortIOArch as CurrentPortIOArch;
3140314b30SXiaoye Zheng pub use kvm::X86_64KVMArch as KVMArch;
3240314b30SXiaoye Zheng 
333c82aa56SChiichen pub use crate::arch::ipc::signal::X86_64SignalArch as CurrentSignalArch;
34*fbe6becdSLoGin pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch;
35