xref: /DragonOS/kernel/src/arch/x86_64/mod.rs (revision 83ed0ebc293d5a10245089f627f52770fd5b9dd4)
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 fpu;
8 pub mod interrupt;
9 pub mod ipc;
10 pub mod kvm;
11 pub mod libs;
12 pub mod mm;
13 pub mod msi;
14 pub mod pci;
15 pub mod process;
16 pub mod rand;
17 pub mod sched;
18 pub mod setup;
19 pub mod smp;
20 pub mod syscall;
21 pub mod time;
22 
23 pub use self::pci::pci::X86_64PciArch as PciArch;
24 
25 /// 导出内存管理的Arch结构体
26 pub use self::mm::X86_64MMArch as MMArch;
27 
28 pub use interrupt::X86_64InterruptArch as CurrentIrqArch;
29 
30 pub use crate::arch::asm::pio::X86_64PortIOArch as CurrentPortIOArch;
31 pub use kvm::X86_64KVMArch as KVMArch;
32 
33 pub use crate::arch::ipc::signal::X86_64SignalArch as CurrentSignalArch;
34 pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch;
35