Searched refs:sp (Results 101 - 125 of 142) sorted by path

123456

/haiku/src/system/boot/platform/riscv/
H A Dentry.S23 mv sp, a3
H A Dtraps.cpp21 uint64 sp; member in struct:iframe
H A Dtraps_asm.S15 sd fp, 2*8(sp)
17 sd t0, 31*8(sp)
19 mv a0, sp
22 ld t0, 31*8(sp)
33 csrrw sp, mscratch, sp
38 sd t0, 2*8(sp) # save supervisor SP
42 sd t0, 31*8(sp)
47 mv a0, sp
53 ld t0, 31*8(sp)
[all...]
/haiku/src/system/glue/arch/arm/
H A Dcrti.S27 sub sp, sp, #8
28 str lr, [sp]
32 sub sp, sp, #8
33 str lr, [sp]
H A Dcrtn.S15 ldr lr, [sp]
16 add sp, sp, #8
20 ldr lr, [sp]
21 add sp, sp, #8
/haiku/src/system/glue/arch/arm64/
H A Dcrti.S25 sub sp, sp, #16
26 str lr, [sp]
31 sub sp, sp, #16
32 str lr, [sp]
H A Dcrtn.S7 ldr lr, [sp]
8 add sp, sp, #16
12 ldr lr, [sp]
13 add sp, sp, #16
/haiku/src/system/glue/arch/riscv64/
H A Dcrti.S24 addi sp, sp, -16
25 sd ra, 8(sp)
30 addi sp, sp, -16
31 sd ra, 8(sp)
H A Dcrtn.S12 ld ra, 8(sp)
13 addi sp, sp, 16
18 ld ra, 8(sp)
19 addi sp, sp, 16
/haiku/src/system/kernel/arch/arm/
H A Darch_asm.S69 stmfd sp!, { r0-r12, lr }
70 str sp, [r0]
71 ldr sp, [r1]
72 ldmfd sp!, { r0-r12, lr }
99 stmfd sp!, { r4-r6, lr }
126 ldmfd sp!, { r4-r6, pc }
132 ldmfd sp!, { r4-r6, pc }
137 stmfd sp!, { r4-r5, lr }
165 ldmfd sp!, { r4-r5, pc }
171 ldmfd sp!, { r
[all...]
H A Darch_exceptions.S24 stmdb sp, {r0-r3} /* Save 4 registers */
26 mov r1, sp /* Save xxx32 sp */
32 mov r2, sp /* Save SVC sp */
33 str r0, [sp, #-4]! /* Push return address */
34 str lr, [sp, #-4]! /* Push SVC lr */
35 str r2, [sp, #-4]! /* Push SVC sp */
38 sub sp, s
[all...]
H A Darch_thread.cpp112 thread->arch_info.sp = stackTop;
161 from, from->name, from->arch_info.sp, to, to->name, to->arch_info.sp);
174 dprintf("\tsp: %p\n", at->sp);
/haiku/src/system/kernel/arch/arm64/
H A Darch_asm.S17 add sp, sp, \xt
18 sub \xt, sp, \xt
19 sub sp, sp, \xt
25 // avoid using sp in case it is misaligned
26 // swap sp with x19 and use it instead
41 mov x0, sp // original x19 that we swapped with sp
53 // add sizeof back here to store original sp
[all...]
H A Darch_debug.cpp397 dprintf("LR =%016lx SP =%016lx FP =%016lx\n", frame->lr, frame->sp, frame->fp);
H A Darch_int.cpp83 frame->lr, frame->sp);
291 frame->sp = cpu->fault_handler_stack_pointer;
341 if (!IS_USER_ADDRESS(frame->sp)
342 || user_memcpy(&args[8], (void*)frame->sp, (count - 8) * 8) != B_OK) {
H A Darch_thread.cpp137 frame.sp = thread->user_stack_base + thread->user_stack_size;
H A Dasm_offsets.cpp39 DEFINE_OFFSET_MACRO(IFRAME, iframe, sp);
/haiku/src/system/kernel/arch/m68k/
H A Darch_thread.cpp183 t->arch_info.sp = (void *)kstackTop;
214 m68k_context_switch(&from->arch_info.sp, to->arch_info.sp);
223 dprintf("\tsp: %p\n", at->sp);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_asm.S35 sd sp, 13*8(a0)
51 ld sp, 13*8(a1)
145 mv sp, a1
H A Darch_int.cpp155 " ra", " t6", " sp", " gp",
236 (uint64*)thread_get_current_thread()->arch_info.userFrame->sp,
239 thread_get_current_thread()->arch_info.userFrame->sp
243 // DumpMemory((uint64*)frame->sp, thread_get_current_thread()->kernel_stack_top - frame->sp);
455 frame->sp = cpu->fault_handler_stack_pointer;
530 if (status_t res = user_memcpy(&args[8], (void*)frame->sp,
H A Darch_thread.cpp55 thread->arch_info.context.sp = (addr_t)_stackTop;
136 frame.sp = thread->user_stack_base + thread->user_stack_size;
155 return frame->sp >= thread->signal_stack_base
156 && frame->sp < thread->signal_stack_base
169 frame->sp < thread->signal_stack_base ||
170 frame->sp >= thread->signal_stack_base + thread->signal_stack_size
177 return (uint8*)ROUNDDOWN(frame->sp - spaceNeeded, 16);
190 signalFrameData->context.uc_mcontext.x[ 1] = frame->sp;
225 signal_get_user_stack(frame->sp, &signalFrameData->context.uc_stack);
255 frame->sp
[all...]
H A Darch_traps.S15 sd fp, IFRAME_sp(sp)
17 sd t0, IFRAME_epc(sp)
20 sd t0, IFRAME_status(sp)
22 sd t0, IFRAME_cause(sp)
24 sd t0, IFRAME_tval(sp)
26 mv a0, sp
30 ld t0, IFRAME_status(sp)
33 ld t0, IFRAME_epc(sp)
43 csrrw sp, sscratch, sp
[all...]
H A Darch_user_debugger.cpp51 frame->sp = cpuState->x[ 1];
101 cpuState->x[ 1] = frame->sp;
H A Dasm_offsets.cpp40 DEFINE_OFFSET_MACRO(ARCH_CONTEXT, arch_context, sp);
49 DEFINE_OFFSET_MACRO(IFRAME, iframe, sp);
/haiku/src/system/kernel/arch/sparc/
H A Darch_thread.cpp82 t->arch_info.sp = (void *)kstackTop;

Completed in 128 milliseconds

123456