/DragonOS-0.1.3/kernel/src/arch/x86_64/ |
D | context.rs | 3 use core::sync::atomic::compiler_fence; 14 compiler_fence(core::sync::atomic::Ordering::SeqCst); in switch_process() 18 compiler_fence(core::sync::atomic::Ordering::SeqCst); in switch_process()
|
D | cpu.rs | 1 use core::arch::asm;
|
/DragonOS-0.1.3/kernel/src/sched/ |
D | cfs.rs | 1 use core::{ 21 use super::core::Scheduler; 158 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 163 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 168 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 171 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 177 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 180 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 185 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 190 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() [all …]
|
D | core.rs | 1 use core::sync::atomic::compiler_fence; 33 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched() 35 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched() 39 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched()
|
D | mod.rs | 1 pub mod core; module
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/ |
D | current.rs | 3 use core::{arch::asm, sync::atomic::compiler_fence}; 11 compiler_fence(core::sync::atomic::Ordering::SeqCst); in current_pcb() 13 compiler_fence(core::sync::atomic::Ordering::SeqCst); in current_pcb()
|
D | bitops.rs | 1 use core::arch::x86_64::_popcnt64;
|
D | irqflags.rs | 1 use core::{arch::asm, ptr::read_volatile};
|
/DragonOS-0.1.3/kernel/src/process/ |
D | fork.rs | 1 use core::{ffi::c_void, ptr::null_mut, sync::atomic::compiler_fence}; 49 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 55 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 64 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 67 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 71 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 74 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 76 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand()
|
D | process.rs | 1 use core::ptr::{read_volatile, write_volatile}; 8 sched::core::{cpu_executing, sched_enqueue}, 9 smp::core::{smp_get_processor_id, smp_send_reschedule},
|
D | initial_proc.rs | 1 use core::ffi::c_void;
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | allocator.rs | 4 use core::alloc::{GlobalAlloc, Layout}; 19 return core::ptr::null_mut(); in local_alloc() 26 return core::ptr::null_mut(); in local_alloc_zeroed() 32 kfree(ptr as *mut ::core::ffi::c_void); in local_dealloc()
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 4 use core::arch::asm; 5 use core::ptr::read_volatile;
|
D | barrier.rs | 2 use core::arch::asm;
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | ffi_convert.rs | 13 core::mem::transmute::< in __convert_mut() 23 core::mem::transmute::< in __convert_ref()
|
D | atomic.rs | 2 use core::ptr::{read_volatile, write_volatile};
|
D | spinlock.rs | 2 use core::ptr::read_volatile; 4 use core::sync::atomic::{AtomicBool, Ordering};
|
/DragonOS-0.1.3/kernel/src/smp/ |
D | mod.rs | 1 pub mod core; module
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal_types.rs | 4 use core::ffi::c_void; 5 use core::fmt::Debug; 61 pub _sa_sigaction: ::core::option::Option< 63 sig: ::core::ffi::c_int, 65 arg1: *mut ::core::ffi::c_void, 70 impl core::fmt::Debug for sigaction__union_u { 71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 141 pub sa_handler: *mut core::ffi::c_void, 142 pub sa_sigaction: *mut core::ffi::c_void, 145 pub sa_restorer: *mut core::ffi::c_void, [all …]
|
D | signal.rs | 1 use core::{ffi::c_void, intrinsics::size_of, ptr::read_volatile, sync::atomic::compiler_fence}; 88 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 97 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 139 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 142 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 178 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 181 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 269 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 292 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 310 compiler_fence(core::sync::atomic::Ordering::SeqCst); in complete_signal() [all …]
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/interrupt/ |
D | mod.rs | 2 use core::arch::asm;
|
/DragonOS-0.1.3/user/libs/libc/src/ |
D | lib.rs | 12 use core::panic::PanicInfo;
|
/DragonOS-0.1.3/user/libs/libc/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.3/kernel/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | softirq.rs | 1 use core::{ffi::c_void, ptr::null_mut}; 27 pub action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, //软中断处理函数 83 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq() 191 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq()
|