Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/sys Pull up revision 1.25 via patch (requested by c...
details: https://anonhg.NetBSD.org/src/rev/ddacc8ccb343
branches: netbsd-2-0
changeset: 564728:ddacc8ccb343
user: tron <tron%NetBSD.org@localhost>
date: Sun Mar 20 11:58:55 2005 +0000
description:
Pull up revision 1.25 via patch (requested by chs in ticket #1160):
define a new LWP flag which indicates that we're in the process of
doing a context switch. use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).
diffstat:
sys/sys/lwp.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7082aa89e859 -r ddacc8ccb343 sys/sys/lwp.h
--- a/sys/sys/lwp.h Sun Mar 20 11:58:47 2005 +0000
+++ b/sys/sys/lwp.h Sun Mar 20 11:58:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.21 2004/03/14 01:08:47 cl Exp $ */
+/* $NetBSD: lwp.h,v 1.21.2.1 2005/03/20 11:58:55 tron Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -118,6 +118,7 @@
#define L_SA_PAGEFAULT 0x4000000 /* SA LWP in pagefault handler */
#define L_SA_YIELD 0x10000000 /* LWP on VP is yielding */
#define L_SA_IDLE 0x20000000 /* VP is idle */
+#define L_SA_SWITCHING 0x80000000 /* SA LWP in context switch */
/*
* Status values.
Home |
Main Index |
Thread Index |
Old Index