Page MenuHomeFreeBSD

D35888.diff
No OneTemporary

D35888.diff

diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c
--- a/sys/amd64/amd64/vm_machdep.c
+++ b/sys/amd64/amd64/vm_machdep.c
@@ -170,6 +170,8 @@
cpu_max_ext_state_size);
}
+ td2->td_frame = (struct trapframe *)td2->td_md.md_stack_base - 1;
+
/*
* Set registers for trampoline to user mode. Leave space for the
* return address on stack. These are the kernel mode register values.

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 11:48 PM (17 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15817448
Default Alt Text
D35888.diff (420 B)

Event Timeline