Home
last modified time | relevance | path

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

12

/DragonOS-0.1.7/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.rs4 use core::arch::asm;
24 asm!("mov cr3, {}", in(reg) pml4t); in switch_mm()
/DragonOS-0.1.7/kernel/src/arch/x86_64/
Dcpu.rs1 use core::arch::asm;
3 use super::asm::current::current_pcb;
15 asm!("pause"); in cpu_relax()
Dfpu.rs3 asm,
14 use super::asm::irqflags::{local_irq_restore, local_irq_save};
98 asm!( in fp_state_save()
129 asm! { in fp_state_restore()
Dmod.rs2 pub mod asm; module
DMakefile4 kernel_arch_x86_64_subdirs:= asm
/DragonOS-0.1.7/kernel/src/arch/x86_64/interrupt/
Dmod.rs3 arch::asm,
9 use super::asm::irqflags::{local_irq_restore, local_irq_save};
15 asm!("cli"); in cli()
23 asm!("sti"); in sti()
41 asm!("pushfq; pop {}", out(reg) rflags); in is_irq_enabled()
/DragonOS-0.1.7/kernel/src/arch/x86_64/asm/
Dirqflags.rs1 use core::{arch::asm, ptr::read_volatile};
6 asm!("pushfq", "pop rax", "mov rax, {0}", "cli", out(reg)(*flags),); in local_irq_save()
15 asm!("push r15", 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.7/kernel/src/process/
Dpreempt.rs1 use crate::arch::asm::current::current_pcb;
Dpid.rs1 use crate::{arch::asm::current::current_pcb, include::bindings::bindings::pt_regs};
Dfork.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.7/kernel/src/libs/
Dsemaphore.rs3 use crate::{arch::asm::current::current_pcb, kdebug, syscall::SystemError};
Dmutex.rs9 arch::{asm::current::current_pcb, sched::sched},
Dspinlock.rs8 use crate::arch::asm::irqflags::{local_irq_restore, local_irq_save};
Dwait_queue.rs5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
Dlockref.rs3 use crate::{arch::asm::cmpxchg::try_cmpxchg_q, syscall::SystemError};
/DragonOS-0.1.7/kernel/src/ipc/
Dsyscall.rs2 arch::asm::current::current_pcb,
/DragonOS-0.1.7/kernel/src/
Dlib.rs54 arch::asm::current::current_pcb,
/DragonOS-0.1.7/kernel/src/time/
Dsleep.rs7 asm::current::current_pcb,
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md33 - 目录结构优化:移动asm.h和cmpxchg.h
217 * 移动asm.h和cmpxchg.h
/DragonOS-0.1.7/kernel/src/sched/
Dcore.rs4 arch::asm::{current::current_pcb, ptrace::user_mode},
Drt.rs6 arch::asm::current::current_pcb,
Dcfs.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs14 asm::{

12