From owner-cvs-all Fri Jul 12 11:34:30 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84B2837B400; Fri, 12 Jul 2002 11:34:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 562E043E58; Fri, 12 Jul 2002 11:34:23 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6CIYNJU076009; Fri, 12 Jul 2002 11:34:23 -0700 (PDT) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6CIYNmV076008; Fri, 12 Jul 2002 11:34:23 -0700 (PDT) Message-Id: <200207121834.g6CIYNmV076008@freefall.freebsd.org> From: John Baldwin Date: Fri, 12 Jul 2002 11:34:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha genassym.c swtch.s src/sys/i386/i386 genassym.c swtch.s src/sys/ia64/ia64 genassym.c swtch.s src/sys/kern kern_switch.c src/sys/powerpc/powerpc genassym.c swtch.s src/sys/sparc64/sparc64 genassym.c swtch.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/07/12 11:34:22 PDT Modified files: sys/alpha/alpha genassym.c swtch.s sys/i386/i386 genassym.c swtch.s sys/ia64/ia64 genassym.c swtch.s sys/kern kern_switch.c sys/powerpc/powerpc genassym.c swtch.s sys/sparc64/sparc64 genassym.c swtch.s Log: Set the thread state of the newly chosen to run thread to TDS_RUNNING in choosethread() in MI C code instead of doing it in in assembly in all the various cpu_switch() functions. This fixes problems on ia64 and sparc64. Reviewed by: julian, peter, benno Tested on: i386, alpha, sparc64 Revision Changes Path 1.39 +0 -2 src/sys/alpha/alpha/genassym.c 1.33 +0 -3 src/sys/alpha/alpha/swtch.s 1.127 +0 -4 src/sys/i386/i386/genassym.c 1.133 +0 -14 src/sys/i386/i386/swtch.s 1.30 +0 -2 src/sys/ia64/ia64/genassym.c 1.23 +0 -6 src/sys/ia64/ia64/swtch.s 1.31 +1 -2 src/sys/kern/kern_switch.c 1.45 +0 -2 src/sys/powerpc/powerpc/genassym.c 1.16 +0 -2 src/sys/powerpc/powerpc/swtch.s 1.36 +0 -2 src/sys/sparc64/sparc64/genassym.c 1.20 +0 -3 src/sys/sparc64/sparc64/swtch.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message