From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 8 18:01:16 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D12106564A for ; Thu, 8 Jul 2010 18:01:16 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 983C68FC19 for ; Thu, 8 Jul 2010 18:01:16 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L59003003E37W00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 08 Jul 2010 13:01:15 -0500 (CDT) Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5900J9W3DYUQ90@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 08 Jul 2010 13:01:11 -0500 (CDT) Date: Thu, 08 Jul 2010 13:01:10 -0500 From: Nathan Whitehorn To: freebsd-ppc@freebsd.org Message-id: <20100708130110.73b49dd2@anacreon.physics.wisc.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; powerpc64-portbld-freebsd9.0) X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-14, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.8.174514, SenderIP=128.104.160.176 Subject: Book-E/AIM exec bits unification X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 18:01:16 -0000 As part of the ppc64 work, which I am starting to merge, I ended up unifying non-machine-dependent but ABI-dependent bits of machdep.c and vm_machdep.c into a new generic powerpc/exec_machdep.c file. This reduces some code duplication and should ease implementation of Book-E systems with hard FP, Altivec, and 64-bit support. A diff to do this is at http://people.freebsd.org/~nwhitehorn/exec_machdep.diff I have tested this extensively on AIM, since it's been part of the ppc64 tree for a long time now, but it is only compile-tested on Book-E systems, so I'd appreciate knowing if I broke anything there. Unless I hear anything, I'll commit this to HEAD on Monday. -Nathan