Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108641051
D29630.id87033.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
458 B
Referenced Files
None
Subscribers
None
D29630.id87033.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29630: arm64: clear debug register state on fork
Attached
Detach File
Event Timeline
Log In to Comment