Home
last modified time | relevance | path

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

/sys/amd64/
Dthread.c17 extern void switchstack(uint64_t *oldrsp, uint64_t rsp);
36 thr->arch.rsp = (uint64_t)sf; in Thread_SetupKThread()
48 tf->rsp = stacktop; in Thread_SetupKThread()
66 tf.rsp = (uint64_t)arg2 + MEM_USERSPACE_STKLEN - PGSIZE; in ThreadEnterUserLevelCB()
103 switchstack(&oldthr->arch.rsp, newthr->arch.rsp); in Thread_SwitchArch()
Dtrap.c109 tf->cs, tf->rip, tf->ss, tf->rsp); in Trap_Dump()
127 uint64_t rsp; in Trap_StackDump() local
131 for (rsp = tf->rsp; (rsp & 0xFFF) != 0; rsp += 8) { in Trap_StackDump()
132 data = (uint64_t *)rsp; in Trap_StackDump()
133 kprintf("%016llx: %016llx\n", rsp, *data); in Trap_StackDump()
Dswitch.S23 movq %rsp, (%rdi)
24 movq %rsi, %rsp
Dtrapentry.S182 movq %rsp, %rdi
205 addq $16, %rsp
212 movq %rdi, %rsp
Dmultiboot.S107 movq %rax, %rsp
Dmpboot.S122 movq %rbx, %rsp
Ddebug.c112 tf->cs, tf->rip, tf->ss, tf->rsp); in Debug_Registers()
/lib/libc/
Dcrtn.S27 addq $8,%rsp
31 addq $8,%rsp
Dcrti.S31 subq $8,%rsp
38 subq $8,%rsp
/sys/kern/
Dloader.c236 uintptr_t rsp = MEM_USERSPACE_STKTOP - PGSIZE; in Loader_LoadInit() local
238 Copy_Out(&ap[0], rsp, sizeof(uintptr_t)*3); in Loader_LoadInit()
249 tf.rsp = rsp; in Loader_LoadInit()
252 tf.rdi = rsp; in Loader_LoadInit()
/sys/amd64/include/
Dthread.h22 uint64_t rsp; member
Dtrap.h78 uint64_t rsp; member