From 91574a97b755a31d902edf89096545c6329c4afb Mon Sep 17 00:00:00 2001 From: David Xu Date: Wed, 11 Aug 2004 23:23:05 +0000 Subject: [PATCH] Mark end of frames. --- sys/amd64/amd64/vm_machdep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index ddfbaeb515fc..512163236dbc 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -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; /*