Searched refs:core (Results 1 – 22 of 22) sorted by relevance
/DragonOS-0.1.2/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.2/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, 9 smp::core::{smp_get_processor_id, smp_send_reschedule},
|
D | initial_proc.rs | 1 use core::ffi::c_void;
|
/DragonOS-0.1.2/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.2/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;
|
D | printk.rs | 3 use ::core::ffi::c_char; 5 use core::fmt;
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | mod.rs | 1 pub mod core; module
|
/DragonOS-0.1.2/kernel/src/sched/ |
D | mod.rs | 1 pub mod core; module
|
/DragonOS-0.1.2/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}; 87 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 91 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 124 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 127 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 163 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 166 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 255 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 263 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 281 compiler_fence(core::sync::atomic::Ordering::SeqCst); in complete_signal() [all …]
|
/DragonOS-0.1.2/kernel/src/arch/x86_64/interrupt/ |
D | mod.rs | 2 use core::arch::asm;
|
/DragonOS-0.1.2/kernel/src/arch/x86_64/ |
D | cpu.rs | 1 use core::arch::asm;
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | lib.rs | 12 use core::panic::PanicInfo;
|
/DragonOS-0.1.2/kernel/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.2/user/libs/libc/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.2/kernel/src/ |
D | lib.rs | 11 use core::panic::PanicInfo;
|
/DragonOS-0.1.2/kernel/src/driver/uart/ |
D | uart.rs | 2 use core::{str, char, intrinsics::offset};
|