Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 185) sorted by relevance

12345678

/DragonOS/kernel/src/arch/x86_64/
H A Dmod.rs31 pub use crate::arch::asm::pio::X86_64PortIOArch as CurrentPortIOArch;
35 pub use crate::arch::ipc::signal::X86_64SignalArch as CurrentSignalArch;
36 pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch;
38 pub use crate::arch::elf::X86_64ElfArch as CurrentElfArch;
40 pub use crate::arch::smp::X86_64SMPArch as CurrentSMPArch;
42 pub use crate::arch::sched::X86_64SchedArch as CurrentSchedArch;
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dseg.rs1 use crate::arch::kvm::VmcsFields::{
4 use crate::arch::kvm::VmcsFields::{
7 use crate::arch::kvm::VmcsFields::{
10 use crate::arch::kvm::VmcsFields::{
13 use crate::arch::kvm::VmcsFields::{
16 use crate::arch::kvm::VmcsFields::{
19 use crate::arch::kvm::VmcsFields::{
22 use crate::arch::kvm::VmcsFields::{
H A Dept.rs1 use crate::arch::mm::LockedFrameAllocator;
2 use crate::arch::mm::PageMapper;
3 use crate::arch::MMArch;
/DragonOS/kernel/src/arch/riscv64/driver/
H A Dof.rs14 let fdt_size = bp_guard.arch.fdt_size; in map_fdt()
15 let fdt_paddr = bp_guard.arch.fdt_paddr; in map_fdt()
17 let offset = fdt_paddr.data() & crate::arch::MMArch::PAGE_OFFSET_MASK; in map_fdt()
19 let map_paddr = PhysAddr::new(fdt_paddr.data() & crate::arch::MMArch::PAGE_MASK); in map_fdt()
37 bp_guard.arch.fdt_vaddr.replace(vaddr); in map_fdt()
/DragonOS/kernel/src/arch/
H A Darch.h3 #define ARCH(arch) (defined(AK_ARCH_##arch) && AK_ARCH_##arch) argument
/DragonOS/tools/
H A D.gitignore3 arch/i386/legacy/grub/*
4 arch/i386/efi/grub/*
5 arch/x86_64/efi/grub/*
H A Dwrite_disk_image.sh39 GRUB_PATH_I386_LEGACY_INSTALL=${GRUB_ABS_PREFIX}/arch/i386/legacy/grub/sbin/grub-install
40 GRUB_PATH_I386_EFI_INSTALL=${GRUB_ABS_PREFIX}/arch/i386/efi/grub/sbin/grub-install
41 GRUB_PATH_X86_64_EFI_INSTALL=${GRUB_ABS_PREFIX}/arch/x86_64/efi/grub/sbin/grub-install
42 GRUB_PATH_RISCV64_EFI_INSTALL=${GRUB_ABS_PREFIX}/arch/riscv64/efi/grub/sbin/grub-install
44 GRUB_PATH_I386_LEGACY_FILE=${GRUB_ABS_PREFIX}/arch/i386/legacy/grub/bin/grub-file
H A Dgrub_auto_install.sh20 grub_dir_i386_efi=${ABS_PREFIX}/arch/i386/efi/grub
21 grub_dir_i386_legacy=${ABS_PREFIX}/arch/i386/legacy/grub
22 grub_dir_x86_64_efi=${ABS_PREFIX}/arch/x86_64/efi/grub
23 grub_dir_riscv64_efi=${ABS_PREFIX}/arch/riscv64/efi/grub
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/
H A Dmod.rs14 let arch = CargoHandler::target_arch(); in current_bindgenarch() localVariable
15 match arch { in current_bindgenarch()
18 _ => panic!("Unsupported arch: {:?}", arch), in current_bindgenarch()
/DragonOS/.github/workflows/
H A Dmakefile.yml12 name: Format check ${{ matrix.arch }}
19 arch: [x86_64, riscv64]
27 ARCH: ${{ matrix.arch }}
35 name: Kernel static test ${{ matrix.arch }}
42 arch: [x86_64, riscv64]
52 ARCH: ${{ matrix.arch }}
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/
H A Dmod.rs26 let arch = CargoHandler::target_arch(); in current_cfiles_arch() localVariable
27 match arch { in current_cfiles_arch()
30 _ => panic!("Unsupported arch: {:?}", arch), in current_cfiles_arch()
/DragonOS/kernel/crates/kprobe/src/
H A Dlib.rs5 mod arch; module
7 pub use arch::*;
/DragonOS/
H A Dtriagebot.toml70 trigger_files = ["kernel/src/arch/x86_64"]
73 trigger_files = ["kernel/src/arch/riscv64"]
78 "kernel/src/arch/x86_64/driver",
79 "kernel/src/arch/riscv64/driver",
83 trigger_files = ["kernel/src/virt", "kernel/src/arch/x86_64/kvm"]
167 "/kernel/src/arch/x86_64/kvm" = ["virtulization"]
168 "/kernel/src/arch/x86_64" = ["x86_64"]
169 "/kernel/src/arch/riscv64" = ["riscv64"]
/DragonOS/kernel/src/
H A DMakefile29 CFLAGS += -I $(shell pwd)/arch/x86_64/include
31 CFLAGS += -I $(shell pwd)/arch/riscv64/include -I $(shell pwd)/arch/riscv64/
68 ….o") ../target/riscv64gc-unknown-none-elf/release/libdragonos_kernel.a -T arch/riscv64/link.ld --n…
77 …name "*.o") ../target/x86_64-unknown-none/release/libdragonos_kernel.a -T arch/x86_64/link.lds --n…
90 …t/x86_64-unknown-none/release/libdragonos_kernel.a ./debug/kallsyms.o -T arch/x86_64/link.lds --n…
/DragonOS/kernel/src/init/
H A Dboot.rs8 arch::init::ArchBootParams,
20 pub arch: ArchBootParams, field
29 arch: ArchBootParams::DEFAULT,
102 return Some(self.arch.arch_fdt()); in fdt()
112 return Some(self.arch.fdt_paddr); in fdt_paddr()
/DragonOS/kernel/src/sched/
H A Dclock.rs3 use crate::{arch::CurrentTimeArch, time::TimeArch};
12 if crate::arch::driver::tsc::TSCManager::cpu_khz() == 0 { in sched_clock_cpu()
/DragonOS/kernel/src/arch/riscv64/init/
H A Dmod.rs6 arch::{
99 let fdt_paddr = boot_params().read().arch.fdt_paddr; in parse_dtb()
119 arch_boot_params_guard.arch.fdt_paddr = fdt_paddr; in early_setup_arch()
120 arch_boot_params_guard.arch.fdt_size = fdt.total_size(); in early_setup_arch()
121 arch_boot_params_guard.arch.boot_hartid = ProcessorId::new(hartid); in early_setup_arch()
/DragonOS/kernel/src/arch/riscv64/
H A Dmod.rs30 pub use crate::arch::smp::RiscV64SMPArch as CurrentSMPArch;
32 pub use crate::arch::sched::RiscV64SchedArch as CurrentSchedArch;
/DragonOS/kernel/src/virt/kvm/
H A Dvm.rs1 use crate::arch::kvm::vmx::vcpu::VmxVcpu;
2 use crate::arch::KVMArch;
3 use crate::arch::MMArch;
29 pub arch: KVMArch, field
42 arch: Default::default(), in new()
/DragonOS/build-scripts/kernel_build/src/bindgen/
H A Dmod.rs3 use crate::{bindgen::arch::current_bindgenarch, utils::cargo_handler::CargoHandler};
5 mod arch; module
/DragonOS/kernel/src/exception/
H A Ddebug.rs1 use crate::arch::interrupt::TrapFrame;
2 use crate::arch::kprobe::clear_single_step;
H A Debreak.rs1 use crate::arch::interrupt::TrapFrame;
2 use crate::arch::kprobe::setup_single_step;
H A Dipi.rs5 use crate::arch::driver::apic::{CurrentApic, LocalAPIC};
8 arch::MMArch,
/DragonOS/kernel/src/arch/x86_64/kvm/
H A Dmod.rs1 use crate::arch::kvm::vmx::vmcs::VmcsFields;
2 use crate::arch::kvm::vmx::vmx_asm_wrapper::{vmx_vmlaunch, vmx_vmread};
7 use core::arch::asm;
/DragonOS/kernel/src/arch/x86_64/process/
H A Dkthread.rs1 use core::arch::asm;
7 arch::{

12345678