diff options
author | David Xu <davidxu@FreeBSD.org> | 2004-08-11 23:23:05 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2004-08-11 23:23:05 +0000 |
commit | 91574a97b755a31d902edf89096545c6329c4afb (patch) | |
tree | 39b0be119b6e9fd872867c3c68ce8d9bc74a3c58 /sys/amd64/amd64/vm_machdep.c | |
parent | 445a4b68f2a5e7f96fe559ebc1e6954dee482746 (diff) | |
download | src-91574a97b755a31d902edf89096545c6329c4afb.tar.gz src-91574a97b755a31d902edf89096545c6329c4afb.zip |
Mark end of frames.
Notes
Notes:
svn path=/head/; revision=133529
Diffstat (limited to 'sys/amd64/amd64/vm_machdep.c')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; /* |