Page MenuHomeFreeBSD

D40841.diff
No OneTemporary

D40841.diff

diff --git a/sys/arm64/arm64/vm_machdep.c b/sys/arm64/arm64/vm_machdep.c
--- a/sys/arm64/arm64/vm_machdep.c
+++ b/sys/arm64/arm64/vm_machdep.c
@@ -223,6 +223,8 @@
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
tf->tf_elr = (register_t)entry;
tf->tf_x[0] = (register_t)arg;
+ tf->tf_x[29] = 0;
+ tf->tf_lr = 0;
}
int

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 5:06 PM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15771485
Default Alt Text
D40841.diff (347 B)

Event Timeline