xref: /DragonOS/kernel/src/arch/x86_64/mod.rs (revision d8e29bffeee4fe4fe76ead3c761dd03f5395e6c2)
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 init;
9 pub mod interrupt;
10 pub mod ipc;
11 pub mod kvm;
12 pub mod libs;
13 pub mod mm;
14 pub mod msi;
15 pub mod pci;
16 pub mod process;
17 pub mod rand;
18 pub mod sched;
19 pub mod setup;
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