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/kernel/src/
H A DMakefile27 CFLAGS += -I $(shell pwd)/arch/x86_64/include
29 CFLAGS += -I $(shell pwd)/arch/riscv64/include -I $(shell pwd)/arch/riscv64/
65 ….o") ../target/riscv64gc-unknown-none-elf/release/libdragonos_kernel.a -T arch/riscv64/link.ld --n…
78 …64gc-unknown-none-elf/release/libdragonos_kernel.a ./debug/kallsyms.o -T arch/riscv64/link.ld --n…
93 …name "*.o") ../target/x86_64-unknown-none/release/libdragonos_kernel.a -T arch/x86_64/link.lds --n…
106 …t/x86_64-unknown-none/release/libdragonos_kernel.a ./debug/kallsyms.o -T arch/x86_64/link.lds --n…
/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/init/
H A Dboot.rs8 arch::init::ArchBootParams,
20 pub arch: ArchBootParams, field
29 arch: ArchBootParams::DEFAULT,
103 return Some(self.arch.arch_fdt()); in fdt()
113 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/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/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;
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dentry.rs1 use crate::arch::{
14 core::arch::naked_asm!( in handle_exception()
36 core::arch::naked_asm!( in _restore_kernel_tpsp()
56 core::arch::naked_asm!( in _save_context()
170 core::arch::naked_asm!( in ret_from_exception()
/DragonOS/kernel/crates/rbpf/src/
H A Dinsn_builder.rs113 pub fn add(&mut self, source: Source, arch: Arch) -> Move { in add()
114 self.mov_internal(source, arch, OpBits::Add) in add()
118 pub fn sub(&mut self, source: Source, arch: Arch) -> Move { in sub()
119 self.mov_internal(source, arch, OpBits::Sub) in sub()
123 pub fn mul(&mut self, source: Source, arch: Arch) -> Move { in mul()
124 self.mov_internal(source, arch, OpBits::Mul) in mul()
128 pub fn div(&mut self, source: Source, arch: Arch) -> Move { in div()
129 self.mov_internal(source, arch, OpBits::Div) in div()
133 pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move { in bit_or()
134 self.mov_internal(source, arch, OpBits::BitOr) in bit_or()
[all …]

12345678