Searched refs:stack (Results 1 – 9 of 9) sorted by relevance
63 │ userland ├─►sa_restorer ├──────────────►│Restore the stack│
123 pub fn set_stack(&mut self, stack: VirtAddr) { in set_stack()124 self.rsp = stack.data(); in set_stack()217 pub fn init_syscall_stack(&mut self, stack: &KernelStack) { in init_syscall_stack()218 self.gsdata.set_kstack(stack.stack_max_address() - 8); in init_syscall_stack()324 let usp = clone_args.stack; in copy_thread()
34 export GLOBAL_CFLAGS := -fno-builtin -fno-stack-protector -D $(CFLAGS_DEFINE_ARCH) -D $(EMULATOR) -…
1356 stack: Option<AlignedBox<[u8; KernelStack::SIZE], { KernelStack::ALIGN }>>, field1367 stack: Some( in new()1383 stack: Some( in from_existed()1394 return VirtAddr::new(self.stack.as_ref().unwrap().as_ptr() as usize); in start_address()1399 return VirtAddr::new(self.stack.as_ref().unwrap().as_ptr() as usize + Self::SIZE); in stack_max_address()1443 let p = self.stack.as_ref().unwrap().as_ptr() as *const *const ProcessControlBlock; in pcb()1459 if self.stack.is_some() { in drop()1460 let ptr = self.stack.as_ref().unwrap().as_ptr() as *const *const ProcessControlBlock; in drop()1468 let bx = self.stack.take(); in drop()
101 pub stack: usize, field127 stack: 0, in new()
125 let usp = clone_args.stack; in copy_thread()407 pub fn set_stack(&mut self, stack: VirtAddr) { in set_stack()408 self.ksp = stack.data(); in set_stack()
216 let stack = self.user_stack.as_mut().unwrap(); in extend_stack() localVariable219 stack.mapped_size += bytes; in extend_stack()220 let len = stack.stack_bottom - stack.mapped_size; in extend_stack()720 let stack = UserStack::new(self, None, size)?; in new_user_stack() localVariable721 self.user_stack = Some(stack); in new_user_stack()
688 clone_args.stack = args[1]; in handle()
1270 uses stack memory to capture fixed number of backtrace to avoid heap