Searched refs:rsp (Results 1 – 12 of 12) sorted by relevance
| /sys/amd64/ |
| D | thread.c | 17 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()
|
| D | trap.c | 109 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()
|
| D | switch.S | 23 movq %rsp, (%rdi) 24 movq %rsi, %rsp
|
| D | trapentry.S | 182 movq %rsp, %rdi 205 addq $16, %rsp 212 movq %rdi, %rsp
|
| D | multiboot.S | 107 movq %rax, %rsp
|
| D | mpboot.S | 122 movq %rbx, %rsp
|
| D | debug.c | 112 tf->cs, tf->rip, tf->ss, tf->rsp); in Debug_Registers()
|
| /lib/libc/ |
| D | crtn.S | 27 addq $8,%rsp 31 addq $8,%rsp
|
| D | crti.S | 31 subq $8,%rsp 38 subq $8,%rsp
|
| /sys/kern/ |
| D | loader.c | 236 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/ |
| D | thread.h | 22 uint64_t rsp; member
|
| D | trap.h | 78 uint64_t rsp; member
|