From owner-cvs-all Tue Oct 29 21:56:44 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 F124937B401; Tue, 29 Oct 2002 21:56:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B285043E8A; Tue, 29 Oct 2002 21:56:42 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9U5tTmV002003; Tue, 29 Oct 2002 21:55:29 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9U5tTpJ002002; Tue, 29 Oct 2002 21:55:29 -0800 (PST) Message-Id: <200210300555.g9U5tTpJ002002@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 29 Oct 2002 21:55:29 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 genassym.c locore.s machdep.c swtch.s vm_machdep.c src/sys/ia64/include pcb.h 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 marcel 2002/10/29 21:55:29 PST Modified files: sys/ia64/ia64 genassym.c locore.s machdep.c swtch.s vm_machdep.c sys/ia64/include pcb.h Log: Rewrite cpu_switch(). The most notable change is the fact that we now have f16-f31 as part of the context. The PCB has been reorganized to better match how we save and restore the (preserved) registers. This commit also moves the context restoriation to its own function (named pcb_restore), as we did with pcb_save. Only minimal effort has been put in writing optimal assembly. The expectation is that there will be more rounds of changes. Revision Changes Path 1.31 +3 -29 src/sys/ia64/ia64/genassym.c 1.26 +1 -1 src/sys/ia64/ia64/locore.s 1.118 +35 -15 src/sys/ia64/ia64/machdep.c 1.24 +260 -210 src/sys/ia64/ia64/swtch.s 1.48 +11 -11 src/sys/ia64/ia64/vm_machdep.c 1.11 +55 -38 src/sys/ia64/include/pcb.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message