Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 9 of 9) sorted by relevance

/DragonOS/docs/kernel/ipc/
H A Dsignal.md63 │ userland ├─►sa_restorer ├──────────────►│Restore the stack
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs123 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()
/DragonOS/kernel/
H A Denv.mk34 export GLOBAL_CFLAGS := -fno-builtin -fno-stack-protector -D $(CFLAGS_DEFINE_ARCH) -D $(EMULATOR) -…
/DragonOS/kernel/src/process/
H A Dmod.rs1356 stack: Option<AlignedBox<[u8; KernelStack::SIZE], { KernelStack::ALIGN }>>, field
1367 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()
H A Dfork.rs101 pub stack: usize, field
127 stack: 0, in new()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs125 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()
/DragonOS/kernel/src/mm/
H A Ducontext.rs216 let stack = self.user_stack.as_mut().unwrap(); in extend_stack() localVariable
219 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() localVariable
721 self.user_stack = Some(stack); in new_user_stack()
/DragonOS/kernel/src/syscall/
H A Dmod.rs688 clone_args.stack = args[1]; in handle()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1270 uses stack memory to capture fixed number of backtrace to avoid heap