/DragonOS/kernel/src/arch/x86_64/asm/ |
H A D | entry.S | 55 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 D | head.S | 327 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 D | trap.rs | 119 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 D | mod.rs | 132 pub rsp: ::core::ffi::c_ulong, field 167 rsp: 0, in new()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 69 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 D | syscall.rs | 34 regs.rsp = user_sp.data() as u64; in arch_do_execve()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | kprobe.rs | 35 pub rsp: ::core::ffi::c_ulong, field 61 rsp: trap_frame.rsp, in from()
|
/DragonOS/user/apps/test_kvm/ |
H A D | main.c | 43 uint64_t rsi, rdi, rsp, rbp; member 106 regs.rsp = 0x3000; // stack address in main()
|
/DragonOS/kernel/src/process/ |
H A D | ptrace.h | 29 unsigned long rsp; member
|
H A D | idle.rs | 90 return VirtAddr::new(x86::current::registers::rsp() as usize); in stack_ptr()
|
/DragonOS/kernel/src/arch/x86_64/ipc/ |
H A D | signal.rs | 504 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 D | traceback.c | 72 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 D | V0.1.9.md | 1540 * 修复了 signal 处理流程中 rsp 指针错误导致的浮点运算触发GP
|