xref: /DragonOS/kernel/src/arch/x86_64/mod.rs (revision 4b0170bd6bb374d0e9699a0076cc23b976ad6db7)
1 #[macro_use]
2 pub mod asm;
3 mod acpi;
4 pub mod cpu;
5 pub mod driver;
6 pub mod elf;
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 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 
36 pub use crate::arch::elf::X86_64ElfArch as CurrentElfArch;
37 
38 pub use crate::arch::smp::X86_64SMPArch as CurrentSMPArch;
39 
40 pub use crate::arch::sched::X86_64SchedArch as CurrentSchedArch;
41