Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/process/
Dfork.c283 uint64_t old_top = (uint64_t)(current_pcb) + STACK_SIZE; in process_rewrite_rbp() local
289 if ((uint64_t)*rbp >= old_top || (uint64_t)*rbp < (old_top - STACK_SIZE)) in process_rewrite_rbp()
295 uint64_t delta = old_top - *rbp; in process_rewrite_rbp()
309 new_regs->rsp = new_top - (old_top - new_regs->rsp); in process_rewrite_rbp()