Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dexec.rs233 ustack.sp() in push_at()
243 ustack.sp() in push_at()
261 let argv_ptr = ustack.sp(); in push_at()
266 return Ok((ustack.sp(), argv_ptr)); in push_at()
270 let mut sp = ustack.sp(); in push_slice() localVariable
271 sp -= slice.len() * core::mem::size_of::<T>(); in push_slice()
272 sp -= sp.data() % core::mem::align_of::<T>(); in push_slice()
274 unsafe { core::slice::from_raw_parts_mut(sp.data() as *mut T, slice.len()) } in push_slice()
277 ustack.set_sp(sp); in push_slice()
/DragonOS-0.1.8/kernel/src/mm/
Ducontext.rs1301 pub fn sp(&self) -> VirtAddr { in sp() method
1305 pub unsafe fn set_sp(&mut self, sp: VirtAddr) { in set_sp()
1306 self.current_sp = sp; in set_sp()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal_types.rs665 pub sp: *mut c_void, field