From owner-freebsd-alpha@FreeBSD.ORG Fri Aug 8 14:14:41 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D42437B401 for ; Fri, 8 Aug 2003 14:14:41 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D6843FBF for ; Fri, 8 Aug 2003 14:14:40 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 5207 invoked from network); 8 Aug 2003 21:14:40 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 8 Aug 2003 21:14:40 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h78LEc9s038035 for ; Fri, 8 Aug 2003 17:14:39 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 08 Aug 2003 17:14:59 -0400 (EDT) From: John Baldwin To: alpha@FreeBSD.org Subject: [PATCH] Switch Alpha to new cpu_switch/throw conventions X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 21:14:41 -0000 I have a completely untested (but should work :-P) patch to convert Alpha over to the new cpu_throw/switch conventions of passing the threads in as arguments to the function. The patch is at http://www.FreeBSD.org/~jhb/patches/alpha_switch.patch I would appreciate it if someone could test it. Success would be making it to multiuser mode. Failure would probably be panic'ing very early after starting init since failure means context switches are broken. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/