Page MenuHomeFreeBSD

D29630.id87033.diff
No OneTemporary

D29630.id87033.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
@@ -91,6 +91,9 @@
td2->td_pcb = pcb2;
bcopy(td1->td_pcb, pcb2, sizeof(*pcb2));
+ /* Clear the debug register state. */
+ bzero(&pcb2->pcb_dbg_regs, sizeof(pcb2->pcb_dbg_regs));
+
tf = (struct trapframe *)STACKALIGN((struct trapframe *)pcb2 - 1);
bcopy(td1->td_frame, tf, sizeof(*tf));
tf->tf_x[0] = 0;

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 1:10 AM (9 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16184611
Default Alt Text
D29630.id87033.diff (458 B)

Event Timeline