Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/process/
Dfork.c205 uint64_t old_top = (uint64_t)(current_pcb) + STACK_SIZE; in process_rewrite_rbp() local
211 if ((uint64_t)*rbp >= old_top || (uint64_t)*rbp < (old_top - STACK_SIZE)) in process_rewrite_rbp()
217 uint64_t delta = old_top - *rbp; in process_rewrite_rbp()
231 new_regs->rsp = new_top - (old_top - new_regs->rsp); in process_rewrite_rbp()