Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh5/sh5 Before returning to userland, clear the FPU...
details: https://anonhg.NetBSD.org/src/rev/2bc00cb32cb6
branches: trunk
changeset: 533888:2bc00cb32cb6
user: scw <scw%NetBSD.org@localhost>
date: Wed Jul 10 15:52:07 2002 +0000
description:
Before returning to userland, clear the FPU regs saved flag.
diffstat:
sys/arch/sh5/sh5/trap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6ae80cf93e0d -r 2bc00cb32cb6 sys/arch/sh5/sh5/trap.c
--- a/sys/arch/sh5/sh5/trap.c Wed Jul 10 15:50:09 2002 +0000
+++ b/sys/arch/sh5/sh5/trap.c Wed Jul 10 15:52:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.1 2002/07/05 13:32:07 scw Exp $ */
+/* $NetBSD: trap.c,v 1.2 2002/07/10 15:52:07 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -106,6 +106,7 @@
postsig(sig);
}
+ p->p_md.md_flags &= ~MDP_FPSAVED;
curcpu()->ci_schedstate.spc_curpriority = p->p_priority;
}
Home |
Main Index |
Thread Index |
Old Index