Searched refs:asm (Results 1 – 25 of 33) sorted by relevance
12
/DragonOS-0.1.7/kernel/src/arch/x86_64/mm/ |
D | barrier.rs | 2 use core::arch::asm; 7 asm!("mfence"); in mfence() 14 asm!("lfence"); in lfence() 21 asm!("sfence"); in sfence()
|
D | mod.rs | 4 use core::arch::asm; 24 asm!("mov cr3, {}", in(reg) pml4t); in switch_mm()
|
/DragonOS-0.1.7/kernel/src/arch/x86_64/ |
D | cpu.rs | 1 use core::arch::asm; 3 use super::asm::current::current_pcb; 15 asm!("pause"); in cpu_relax()
|
D | fpu.rs | 3 asm, 14 use super::asm::irqflags::{local_irq_restore, local_irq_save}; 98 asm!( in fp_state_save() 129 asm! { in fp_state_restore()
|
D | mod.rs | 2 pub mod asm; module
|
D | Makefile | 4 kernel_arch_x86_64_subdirs:= asm
|
/DragonOS-0.1.7/kernel/src/arch/x86_64/interrupt/ |
D | mod.rs | 3 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/ |
D | irqflags.rs | 1 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()
|
D | current.rs | 3 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/ |
D | preempt.rs | 1 use crate::arch::asm::current::current_pcb;
|
D | pid.rs | 1 use crate::{arch::asm::current::current_pcb, include::bindings::bindings::pt_regs};
|
D | fork.rs | 6 arch::asm::current::current_pcb,
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | semaphore.rs | 3 use crate::{arch::asm::current::current_pcb, kdebug, syscall::SystemError};
|
D | mutex.rs | 9 arch::{asm::current::current_pcb, sched::sched},
|
D | spinlock.rs | 8 use crate::arch::asm::irqflags::{local_irq_restore, local_irq_save};
|
D | wait_queue.rs | 5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
|
D | lockref.rs | 3 use crate::{arch::asm::cmpxchg::try_cmpxchg_q, syscall::SystemError};
|
/DragonOS-0.1.7/kernel/src/ipc/ |
D | syscall.rs | 2 arch::asm::current::current_pcb,
|
/DragonOS-0.1.7/kernel/src/ |
D | lib.rs | 54 arch::asm::current::current_pcb,
|
/DragonOS-0.1.7/kernel/src/time/ |
D | sleep.rs | 7 asm::current::current_pcb,
|
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 33 - 目录结构优化:移动asm.h和cmpxchg.h 217 * 移动asm.h和cmpxchg.h
|
/DragonOS-0.1.7/kernel/src/sched/ |
D | core.rs | 4 arch::asm::{current::current_pcb, ptrace::user_mode},
|
D | rt.rs | 6 arch::asm::current::current_pcb,
|
D | cfs.rs | 6 arch::asm::current::current_pcb,
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | softirq.rs | 14 asm::{
|
12