Home
last modified time | relevance | path

Searched refs:asm (Results 1 – 25 of 39) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dbarrier.rs2 use core::arch::asm;
7 asm!("mfence"); in mfence()
14 asm!("lfence"); in lfence()
21 asm!("sfence"); in sfence()
Dmod.rs30 use core::arch::asm;
159 asm!("invlpg [{0}]", in(reg) address.data(), options(nostack, preserves_flags)); in invalidate_page()
175 asm!("mov {}, cr3", out(reg) paddr, options(nomem, nostack, preserves_flags)); in table()
183 asm!("mov cr3, {}", in(reg) table.data(), options(nostack, preserves_flags)); in set_table()
/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/
Dmod.rs6 arch::asm,
12 use super::asm::irqflags::{local_irq_restore, local_irq_save};
18 asm!("cli"); in cli()
26 asm!("sti"); in sti()
44 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/
Dirqflags.rs1 use core::arch::asm;
8 asm!("pushfq; pop {}; cli", out(reg) x, options(nomem, preserves_flags)); in local_irq_save()
17 asm!("push {}; popfq", in(reg) x, options(nomem, preserves_flags)); in local_irq_restore()
Dcurrent.rs3 use core::{arch::asm, sync::atomic::compiler_fence};
13 asm!("and {0}, rsp", inout(reg)(tmp),); in current_pcb()
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dcpu.rs1 use core::arch::asm;
16 asm!("pause"); in cpu_relax()
Dfpu.rs3 asm,
98 asm!( in fp_state_save()
128 asm! { in fp_state_restore()
Dmod.rs2 pub mod asm; module
DMakefile4 kernel_arch_x86_64_subdirs:= asm
Dsyscall.rs6 arch::{asm::current::current_pcb, CurrentIrqArch},
21 use super::{asm::ptrace::user_mode, mm::barrier::mfence};
/DragonOS-0.1.8/kernel/src/process/
Dpreempt.rs1 use crate::arch::asm::current::current_pcb;
Dmod.rs7 arch::asm::current::current_pcb,
Dsyscall.rs4 arch::asm::current::current_pcb,
Dc_adapter.rs6 arch::{asm::current::current_pcb, fpu::FpState},
Dfork.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.8/kernel/src/smp/
Dmod.rs2 arch::{asm::current::current_pcb, interrupt::ipi::send_ipi},
/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs2 arch::{asm::current::current_pcb, context::switch_process, CurrentIrqArch},
Dcore.rs4 arch::asm::current::current_pcb,
Drt.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.8/kernel/src/libs/
Dsemaphore.rs3 use crate::{arch::asm::current::current_pcb, kdebug, syscall::SystemError};
Dmutex.rs9 arch::{asm::current::current_pcb, sched::sched},
Dwait_queue.rs5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs6 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
/DragonOS-0.1.8/kernel/src/
Dlib.rs61 arch::asm::current::current_pcb,
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md33 - 目录结构优化:移动asm.h和cmpxchg.h
217 * 移动asm.h和cmpxchg.h

12