Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 13 of 13) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/asm/
H A Dentry.S55 addq $0x10, %rsp // 弹出变量FUNC和errcode
68 movq %rsp, %rdi
74 addq $8, %rsp
75 movq CS(%rsp), %rcx
76 subq $8, %rsp
117 movq ERRCODE(%rsp), %rsi // 把错误码装进rsi,作为函数的第二个参数
118 movq FUNC(%rsp), %rdx
124 movq %rsp, %rdi // 把栈指针装入rdi,作为函数的第一个的参数
151 xchgq %rax, (%rsp) // 把FUNC的地址换入栈中
159 xchgq %rax, (%rsp) // 把FUNC的地址换入栈中
[all …]
H A Dhead.S327 movq head_stack_start(%rip), %rsp
395 movq _apu_boot_tmp_stack_top_addr(%rip), %rsp
428 movq head_stack_start(%rip), %rsp
432 movq _apu_boot_tmp_stack_top_addr(%rip), %rsp
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dtrap.rs119 regs.rsp, in do_divide_error()
133 regs.rsp, in do_debug()
147 regs.rsp, in do_nmi()
161 regs.rsp, in do_int3()
175 regs.rsp, in do_overflow()
189 regs.rsp, in do_bounds()
203 regs.rsp, in do_undefined_opcode()
217 regs.rsp, in do_dev_not_avaliable()
231 regs.rsp, in do_double_fault()
245 regs.rsp, in do_coprocessor_segment_overrun()
[all …]
H A Dmod.rs132 pub rsp: ::core::ffi::c_ulong, field
167 rsp: 0, in new()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs69 rsp: usize, field
103 rsp: 0, in new()
117 r.rsp = kstack.stack_max_address().data() - 8; in new()
124 self.rsp = stack.data(); in set_stack()
136 self.rsp -= core::mem::size_of::<usize>(); in push_to_stack()
137 *(self.rsp as *mut usize) = value; in push_to_stack()
141 let value = *(self.rsp as *const usize); in pop_from_stack()
142 self.rsp += core::mem::size_of::<usize>(); in pop_from_stack()
247 rsp: self.rsp, in clone_all()
271 let ptr = VirtAddr::new(x86::current::registers::rsp() as usize); in arch_current_pcb()
[all …]
H A Dsyscall.rs34 regs.rsp = user_sp.data() as u64; in arch_do_execve()
/DragonOS/kernel/src/arch/x86_64/
H A Dkprobe.rs35 pub rsp: ::core::ffi::c_ulong, field
61 rsp: trap_frame.rsp, in from()
/DragonOS/user/apps/test_kvm/
H A Dmain.c43 uint64_t rsi, rdi, rsp, rbp; member
106 regs.rsp = 0x3000; // stack address in main()
/DragonOS/kernel/src/process/
H A Dptrace.h29 unsigned long rsp; member
H A Didle.rs90 return VirtAddr::new(x86::current::registers::rsp() as usize); in stack_ptr()
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs504 let frame = (trap_frame.rsp as usize - size_of::<u64>()) as *mut SigFrame; in sys_rt_sigreturn()
671 trap_frame.rsp = frame as u64; in setup_frame()
689 let mut rsp: usize = (frame.rsp as usize) - 128 - size; in get_stack() localVariable
693 rsp &= (!(STACK_ALIGN - 1)) as usize - 8; in get_stack()
695 return rsp as *mut SigFrame; in get_stack()
/DragonOS/kernel/src/debug/traceback/
H A Dtraceback.c72 if ((uint64_t)(rbp) >= rs_current_pcb_thread_rbp() || ((uint64_t)rbp < regs->rsp)) in traceback()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1540 * 修复了 signal 处理流程中 rsp 指针错误导致的浮点运算触发GP