/DragonOS-0.1.8/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 | 30 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/ |
D | mod.rs | 6 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/ |
D | irqflags.rs | 1 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()
|
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.8/kernel/src/arch/x86_64/ |
D | cpu.rs | 1 use core::arch::asm; 16 asm!("pause"); in cpu_relax()
|
D | fpu.rs | 3 asm, 98 asm!( in fp_state_save() 128 asm! { in fp_state_restore()
|
D | mod.rs | 2 pub mod asm; module
|
D | Makefile | 4 kernel_arch_x86_64_subdirs:= asm
|
D | syscall.rs | 6 arch::{asm::current::current_pcb, CurrentIrqArch}, 21 use super::{asm::ptrace::user_mode, mm::barrier::mfence};
|
/DragonOS-0.1.8/kernel/src/process/ |
D | preempt.rs | 1 use crate::arch::asm::current::current_pcb;
|
D | mod.rs | 7 arch::asm::current::current_pcb,
|
D | syscall.rs | 4 arch::asm::current::current_pcb,
|
D | c_adapter.rs | 6 arch::{asm::current::current_pcb, fpu::FpState},
|
D | fork.rs | 6 arch::asm::current::current_pcb,
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | mod.rs | 2 arch::{asm::current::current_pcb, interrupt::ipi::send_ipi},
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | syscall.rs | 2 arch::{asm::current::current_pcb, context::switch_process, CurrentIrqArch},
|
D | core.rs | 4 arch::asm::current::current_pcb,
|
D | rt.rs | 6 arch::asm::current::current_pcb,
|
/DragonOS-0.1.8/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 | wait_queue.rs | 5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
|
/DragonOS-0.1.8/kernel/src/time/ |
D | sleep.rs | 6 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 61 arch::asm::current::current_pcb,
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 33 - 目录结构优化:移动asm.h和cmpxchg.h 217 * 移动asm.h和cmpxchg.h
|