Page MenuHomeFreeBSD

D19166.diff
No OneTemporary

D19166.diff

Index: head/sys/powerpc/powerpc/exec_machdep.c
===================================================================
--- head/sys/powerpc/powerpc/exec_machdep.c
+++ head/sys/powerpc/powerpc/exec_machdep.c
@@ -474,6 +474,10 @@
else
tf->fixreg[2] = tls;
+ /* Disable FPU */
+ tf->srr1 &= ~PSL_FP;
+ pcb->pcb_flags &= ~PCB_FPU;
+
if (mcp->mc_flags & _MC_FP_VALID) {
/* enable_fpu() will happen lazily on a fault */
pcb->pcb_flags |= PCB_FPREGS;

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:33 AM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14708864
Default Alt Text
D19166.diff (455 B)

Event Timeline