Mark end of frames.
This commit is contained in:
parent
445a4b68f2
commit
91574a97b7
@ -317,6 +317,7 @@ cpu_set_upcall_kse(struct thread *td, struct kse_upcall *ku)
|
||||
td->td_frame->tf_rsp =
|
||||
((register_t)ku->ku_stack.ss_sp + ku->ku_stack.ss_size) & ~0x0f;
|
||||
td->td_frame->tf_rsp -= 8;
|
||||
td->td_frame->tf_rbp = 0;
|
||||
td->td_frame->tf_rip = (register_t)ku->ku_func;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user