From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 5 20:27:23 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D3F3106564A; Sun, 5 Jul 2009 20:27:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6DE8FC1C; Sun, 5 Jul 2009 20:27:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n65KRKfx071925; Sun, 5 Jul 2009 16:27:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n65KRKoE063483; Sun, 5 Jul 2009 16:27:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 963057302F; Sun, 5 Jul 2009 16:27:20 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090705202720.963057302F@freebsd-current.sentex.ca> Date: Sun, 5 Jul 2009 16:27:20 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2009 20:27:24 -0000 TB --- 2009-07-05 18:43:25 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-07-05 18:43:25 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-07-05 18:43:25 - cleaning the object tree TB --- 2009-07-05 18:43:57 - cvsupping the source tree TB --- 2009-07-05 18:43:57 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-07-05 18:44:05 - building world TB --- 2009-07-05 18:44:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-05 18:44:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-05 18:44:05 - TARGET=powerpc TB --- 2009-07-05 18:44:05 - TARGET_ARCH=powerpc TB --- 2009-07-05 18:44:05 - TZ=UTC TB --- 2009-07-05 18:44:05 - __MAKE_CONF=/dev/null TB --- 2009-07-05 18:44:05 - cd /src TB --- 2009-07-05 18:44:05 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 5 18:44:09 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 5 20:10:29 UTC 2009 TB --- 2009-07-05 20:10:29 - generating LINT kernel config TB --- 2009-07-05 20:10:29 - cd /src/sys/powerpc/conf TB --- 2009-07-05 20:10:29 - /usr/bin/make -B LINT TB --- 2009-07-05 20:10:30 - building LINT kernel TB --- 2009-07-05 20:10:30 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-05 20:10:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-05 20:10:30 - TARGET=powerpc TB --- 2009-07-05 20:10:30 - TARGET_ARCH=powerpc TB --- 2009-07-05 20:10:30 - TZ=UTC TB --- 2009-07-05 20:10:30 - __MAKE_CONF=/dev/null TB --- 2009-07-05 20:10:30 - cd /src TB --- 2009-07-05 20:10:30 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 5 20:10:30 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ieee80211_node.o(.text+0x38f0): In function `ieee80211_node_attach': : undefined reference to `ieee80211_ageq_init' ieee80211_node.o(.text+0x3bf4): In function `node_cleanup': : undefined reference to `ieee80211_ageq_drain_node' ieee80211_wds.o(.text+0x138): In function `ieee80211_dwds_discover': : undefined reference to `ieee80211_ageq_append' ieee80211_wds.o(.text+0x8a4): In function `wds_newstate': : undefined reference to `ieee80211_ageq_remove' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-07-05 20:27:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-07-05 20:27:20 - ERROR: failed to build lint kernel TB --- 2009-07-05 20:27:20 - 4969.61 user 438.16 system 6234.77 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 6 11:07:05 2009 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 0FE02106566C for ; Mon, 6 Jul 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F09558FC1A for ; Mon, 6 Jul 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n66B74JP010893 for ; Mon, 6 Jul 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n66B74MR010889 for freebsd-ppc@FreeBSD.org; Mon, 6 Jul 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jul 2009 11:07:04 GMT Message-Id: <200907061107.n66B74MR010889@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org 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: Mon, 06 Jul 2009 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 8 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 7 05:32:08 2009 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 6F3D51065675 for ; Tue, 7 Jul 2009 05:32:08 +0000 (UTC) (envelope-from communications_msn_cs_ptbr@Microsoft.msn.com) Received: from venkobrasil.com.br (fw-venko.venkobrasil.com.br [200.152.196.234]) by mx1.freebsd.org (Postfix) with ESMTP id B7EA38FC0C for ; Tue, 7 Jul 2009 05:32:07 +0000 (UTC) (envelope-from communications_msn_cs_ptbr@Microsoft.msn.com) BrmaOutput: 18982078182.user.veloxzone.com.br [189.82.78.182] (may be forged) Received: from [223.1.9.7] (18982078182.user.veloxzone.com.br [189.82.78.182] (may be forged)) (authenticated bits=0) by venkobrasil.com.br (8.12.11.20060308/8.12.11) with ESMTP id n6752hR4022858 for ; Tue, 7 Jul 2009 02:04:36 -0300 Message-Id: <200907070504.n6752hR4022858@venkobrasil.com.br> MIME-Version: 1.0 To: freebsd-ppc@freebsd.org From: "Equipe Windows Live" Date: Tue, 07 Jul 2009 02:21:57 -0300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Ultimo aviso seu email Hotmail sera excluido em ate 24 horas. 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: Tue, 07 Jul 2009 05:32:08 -0000 Caso n=E3o esteja visualizando este e-mail, clique aqui = = = = = = Caro usu=E1rio, sua caixa de mensagens eletr=F4nicas ( e-mail ) = est=E1 em processo de exclus=E3o dentro de 48 horas se n=E3o for = efetuada a revalida=E7=E3o, ele ser=E1 infelizmente deletado do Hotmail. Para sua Tranq=FCilidade, voc=EA pode optar por validar ou cancelar. Siga as instru=E7=F5es: Revalidar o correio eletr=F4nico: O processo para revalidar ser=E1 efetuado ap=F3s a entrada em nosso link, = para revalidar, clique abaixo e depois v=E1 em abrir. = Revalidar Correio eletr=F4nico: Ativar Conta Cancelar o correio eletr=F4nico: = Se voc=EA optar por cancelar, voc=EA pode esperar 48 horas que ser=E1 autom= aticamente deletado do sistema, ou clique abaixo e depois v=E1 em abrir. Cancelar o Correio eletr=F4nico: Cancelar Conta = Este e-mail =E9 apenas informativo, serve unicamente como notifica=E7=E3o,= n=E3o responda. = Equipe Hotmail 2009 Microsoft e seus fornecedores. Todos os direitos rese= rvados =20 From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 7 13:41:48 2009 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 D347B106566C for ; Tue, 7 Jul 2009 13:41:48 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAF88FC17 for ; Tue, 7 Jul 2009 13:41:48 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so2153297and.13 for ; Tue, 07 Jul 2009 06:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KK24Mdp9geHHr1triaSeOESfGnUD+LZ18bkFCEXDf6k=; b=lia+vSBQug8Hqt7JPpRJjXysxkgTinFxQY5Pa+fMVvwpIKwGgyfT8ta6DnPW857/iC O4sBuPYGlRQL0WaTKBGIy24kLVjp/JQ/KJ+GibwF4cjgB5VLImtHxA0zC2BhzcmZy2dq Dh2aMOYhDuOqvkqor7C2Y+oUmNmpVN0k6LWqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=MBYA9j0n4awynUgNIf5/d3sFTyzkVQjK8CH8mQtK3lYN7T055biMmn+mV7dO5eOzFm ahFZ5Q9gkGZBFoYj8GZh1QvnAmgXlCblbUdBNELs+ex+53zT0CjK7kxCH1fn9YPE6wH9 4yzSc1RfaaTRNC+ngolbybqiRlguDRnlm6sKU= MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.100.210.12 with SMTP id i12mr6199858ang.91.1246974107635; Tue, 07 Jul 2009 06:41:47 -0700 (PDT) Date: Tue, 7 Jul 2009 09:41:47 -0400 X-Google-Sender-Auth: 3bec96696c040c1a Message-ID: From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD/ppc ABI 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: Tue, 07 Jul 2009 13:41:49 -0000 What's the current FreeBSD/ppc ABI register usage? I'm writing a proxy function that messes with some arguments before making the target function call, and need to know which registers are free for me to use without having to save argument registers. From reading the gcc source it looks like it's a strict SysV R4 ABI, leaving r0, r11, and r12 available for me to use. Is this the case, and are there any others available? Thanks, - Justin From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 7 16:14:29 2009 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 4C3581065678 for ; Tue, 7 Jul 2009 16:14:29 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 046CC8FC0A for ; Tue, 7 Jul 2009 16:14:28 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from [10.0.0.34] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 3A6A9C3BB6; Tue, 7 Jul 2009 17:55:53 +0200 (CEST) Message-Id: From: Rafal Jaworowski To: Justin Hibbits In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 7 Jul 2009 17:56:57 +0200 References: X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD/ppc ABI 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: Tue, 07 Jul 2009 16:14:29 -0000 On 2009-07-07, at 15:41, Justin Hibbits wrote: > What's the current FreeBSD/ppc ABI register usage? I'm writing a > proxy function that messes with some arguments before making the > target function call, and need to know which registers are free for me > to use without having to save argument registers. From reading the > gcc source it looks like it's a strict SysV R4 ABI, leaving r0, r11, > and r12 available for me to use. Is this the case, and are there any > others available? We use the plain SVR4 ABI. My understanding is R0, R11 and R12 are among volatile group, so you should be careful. Can you use one of the SPRGs (what CPU is this, do you need to do the trick in user or supervisor mode)? Rafal From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 7 17:07:02 2009 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 42813106564A for ; Tue, 7 Jul 2009 17:07:02 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id EF0F58FC18 for ; Tue, 7 Jul 2009 17:07:01 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so2218532and.13 for ; Tue, 07 Jul 2009 10:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9jnPWNujeMZJEuXFHNQv2e3fW8kegwPQ2gIa91Ei05I=; b=nEgDD0qlaJ4x+0lv29uJNOK7frLbZqRNbG+OYerxc33wgrortlzIKs/OpLDlyyVopk 8qSpGnlzX6bY8g9Vi/7ZpErgTqR2WbaGoXtRWIaKw3tcZsU27mdvJKDgHmxhmx/cbpzv qcoMCl1PyiyjnyvEm5tzZC+6TFxD2dczjx3wU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=e8xu/LwcVdL8ATV8+vic2L/2W6j/twvL4+qIwZPpQBRbI72+EvxV+qfj0BlTZCr8+4 K6PZV1/jr0O66aZJ3AV0DOutEaewW8IoY9RpL6TqPPIYtQ8pF5EjbXR1sWtk9zu0fEot bckZIrYTCom42tumvcnn0gVuNujpWx+82YeX8= MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.100.227.5 with SMTP id z5mr10678871ang.175.1246986421035; Tue, 07 Jul 2009 10:07:01 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Jul 2009 13:07:00 -0400 X-Google-Sender-Auth: 2bd57afcf78283c6 Message-ID: From: Justin Hibbits To: Rafal Jaworowski Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD/ppc ABI 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: Tue, 07 Jul 2009 17:07:02 -0000 Thanks. The trick is only needed in user space, as a shim between two functions, so I just need any volatile registers that I can use but aren't function arguments. The target is G4/G5. I only need 3 or 4 volatile registers, but the more the better. - Justin On Tue, Jul 7, 2009 at 11:56 AM, Rafal Jaworowski wrote: > > On 2009-07-07, at 15:41, Justin Hibbits wrote: > >> What's the current FreeBSD/ppc ABI register usage? =A0I'm writing a >> proxy function that messes with some arguments before making the >> target function call, and need to know which registers are free for me >> to use without having to save argument registers. =A0From reading the >> gcc source it looks like it's a strict SysV R4 ABI, leaving r0, r11, >> and r12 available for me to use. =A0Is this the case, and are there any >> others available? > > We use the plain SVR4 ABI. My understanding is R0, R11 and R12 are among > volatile group, so you should be careful. Can you use one of the SPRGs (w= hat > CPU is this, do you need to do the trick in user or supervisor mode)? > > Rafal > > From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 7 18:09:13 2009 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 A8FC81065697 for ; Tue, 7 Jul 2009 18:09:13 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 670258FC14 for ; Tue, 7 Jul 2009 18:09:13 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 37D0F11AF7; Wed, 8 Jul 2009 03:53:42 +1000 (EST) Received: from armstd-lxp.hq.netapp.com (nat-198-95-226-231.netapp.com [198.95.226.231]) by dommail.onthenet.com.au (MOS 3.10.6-GA) with ESMTP id EWC36195 (AUTH peterg@ptree32.com.au); Wed, 8 Jul 2009 03:52:41 +1000 (EST) Message-ID: <4A538B64.2080506@freebsd.org> Date: Tue, 07 Jul 2009 10:52:36 -0700 From: Peter Grehan User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Justin Hibbits References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD/ppc ABI 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: Tue, 07 Jul 2009 18:09:14 -0000 Hi Justin, > The trick is only needed in user space, as a shim between two > functions, so I just need any volatile registers that I can use but > aren't function arguments. The target is G4/G5. I only need 3 or 4 > volatile registers, but the more the better. You'll probably have to use the stack to spill the param register. Have a look at the MCOUNT macro in ppc's for an example of code that is an intercept between two routines and has to assume that all param registers are used (http://svn.freebsd.org/viewvc/base/head/sys/powerpc/include/profile.h?view=markup&pathrev=153813 is the version that has the code fragment commented). later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 8 13:34:46 2009 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 42CF01065670 for ; Wed, 8 Jul 2009 13:34:46 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id DB2E08FC12 for ; Wed, 8 Jul 2009 13:34:45 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by yxe11 with SMTP id 11so8113218yxe.3 for ; Wed, 08 Jul 2009 06:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=tx2dg8T7yBMKvAf1L5hG1a/9WcI3Ecr1T2VDcfd85zg=; b=HNGzNmvKnlXWH31FKziagOFMoHS2IW+L47ilju9oN41F6vKJpzrMutRwZbeIknLFx5 cGLXABwycWtNbbflR3HvAFOkBTFayN/A+IcUJ4WhS4gaXSKnE/i56wKp4uzjYmHbDlzj /QTFBxBMrKBiuwBxm4ubIAQFTj9qYuoqE0eyU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RHBA2Ln0pkgvDFsdDE4kg7T5ezZRChk9ZACY3BfDIfKBjeUxP3rvW7urCgtnT0nMRK TnNKlH3fnH3dyPDep/AYq1Uh4Q1ji05WnmSK6GGlH/8x9gptDXnJlS5t9caV3xozW1ml B+Il1hjwhvQpHeRz8BjaIEdnBwsCAju+XjZHY= MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.100.231.8 with SMTP id d8mr12101104anh.196.1247060082518; Wed, 08 Jul 2009 06:34:42 -0700 (PDT) In-Reply-To: <4A538B64.2080506@freebsd.org> References: <4A538B64.2080506@freebsd.org> Date: Wed, 8 Jul 2009 09:34:42 -0400 X-Google-Sender-Auth: 44e055ddc911d39d Message-ID: From: Justin Hibbits To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD/ppc ABI 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: Wed, 08 Jul 2009 13:34:46 -0000 On Tue, Jul 7, 2009 at 1:52 PM, Peter Grehan wrote: > Hi Justin, > >> The trick is only needed in user space, as a shim between two >> functions, so I just need any volatile registers that I can use but >> aren't function arguments. =A0The target is G4/G5. =A0I only need 3 or 4 >> volatile registers, but the more the better. > > =A0You'll probably have to use the stack to spill the param register. Hav= e =A0a > look at the MCOUNT macro in ppc's for an example of c= ode > that is an intercept between two routines and has to assume that all para= m > registers are used > > (http://svn.freebsd.org/viewvc/base/head/sys/powerpc/include/profile.h?vi= ew=3Dmarkup&pathrev=3D153813 > is the version that has the code fragment commented). > > later, > > Peter. > Thanks Peter, and Rafal, I think this is just what I need. I can use the 3 volatile registers, and save the parameter registers when I need to call library functions. I'm doing this largely in assembly for performance reasons, but knowing how mcount does it will help for the uncommon case branches. - Justin From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 8 15:28:44 2009 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 4772D106568A for ; Wed, 8 Jul 2009 15:28:44 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id D8B008FC16 for ; Wed, 8 Jul 2009 15:28:43 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from [10.0.0.34] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 64A9FC3AAA; Wed, 8 Jul 2009 17:27:40 +0200 (CEST) Message-Id: <03142B0D-9AA1-4BBC-9E0C-90636B06423E@semihalf.com> From: Rafal Jaworowski To: Justin Hibbits In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 8 Jul 2009 17:28:42 +0200 References: <4A538B64.2080506@freebsd.org> X-Mailer: Apple Mail (2.935.3) Cc: Peter Grehan , FreeBSD PowerPC ML Subject: Re: FreeBSD/ppc ABI 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: Wed, 08 Jul 2009 15:28:44 -0000 On 2009-07-08, at 15:34, Justin Hibbits wrote: > On Tue, Jul 7, 2009 at 1:52 PM, Peter Grehan > wrote: >> Hi Justin, >> >>> The trick is only needed in user space, as a shim between two >>> functions, so I just need any volatile registers that I can use but >>> aren't function arguments. The target is G4/G5. I only need 3 or 4 >>> volatile registers, but the more the better. >> >> You'll probably have to use the stack to spill the param register. >> Have a >> look at the MCOUNT macro in ppc's for an >> example of code >> that is an intercept between two routines and has to assume that >> all param >> registers are used >> >> (http://svn.freebsd.org/viewvc/base/head/sys/powerpc/include/profile.h?view=markup&pathrev=153813 >> is the version that has the code fragment commented). >> >> later, >> >> Peter. >> > > Thanks Peter, and Rafal, > > I think this is just what I need. I can use the 3 volatile registers, > and save the parameter registers when I need to call library > functions. I'm doing this largely in assembly for performance > reasons, but knowing how mcount does it will help for the uncommon > case branches. What I was trying to say is you need to be careful when messing with any of the volatiles: only after the caller has saved its context you can safely use them for your purpose. Rafal From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 9 15:48:37 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32D9106564A for ; Thu, 9 Jul 2009 15:48:37 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 90F698FC13 for ; Thu, 9 Jul 2009 15:48:37 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from [10.0.0.34] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id DC30AC3AAA; Thu, 9 Jul 2009 17:47:35 +0200 (CEST) Message-Id: From: Rafal Jaworowski To: ppc@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 9 Jul 2009 17:48:36 +0200 X-Mailer: Apple Mail (2.935.3) Cc: Michal Mazur Subject: FreeBSD/powerpc on MPC5121 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, 09 Jul 2009 15:48:38 -0000 I'd like to share the news that FreeBSD/powerpc is now able to boot into single user on the Freescale MPC5121 system-on-chip. See this log: http://people.freebsd.org/~raj/logs/mpc5121.log (all credits for the bringup to Michal Mazur). The chip is a multi-media profiled machine with many interesting peripherals integrated: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC5121e Rafal From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 11 08:53:05 2009 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 BB2191065692 for ; Sat, 11 Jul 2009 08:53:05 +0000 (UTC) (envelope-from toby@iacmusic.com) Received: from 4-George.m6.net (4-George.m6.net [70.84.97.170]) by mx1.freebsd.org (Postfix) with ESMTP id 809C58FC24 for ; Sat, 11 Jul 2009 08:53:05 +0000 (UTC) (envelope-from toby@iacmusic.com) Received: from pool-70-106-84-225.hag.east.verizon.net [70.106.84.225] by 4-George.m6.net with SMTP; Sat, 11 Jul 2009 09:08:24 +0100 X-Unsent: 1 Date: Sat, 11 Jul 2009 04:22:24 -0400 Content-Transfer-Encoding: quoted-printable To: freebsd-ppc@freebsd.org From: Toby@IACmusic.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Finally, a song contest that is free to enter. $27, 000+ in prizes too! 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: Sat, 11 Jul 2009 08:53:07 -0000 =0A =0A Hi, =0A =0A IACmusic.com has started a major song contest and this one you can enter for free! &n= bsp; Thanks to a major new =0Asponsorship, we're throwing a party that = will make major waves in the Indie =0AWorld. Got a =0Asong= you know is good ? You could win, there are going to be a lot of = =0Awinners.. =0A =0A It's our [1]YEAR =0AOF THE I= NDIE Celebration and it started "Indiependents" Day July =0A4th!&nb= sp; =0AThere are 16 gen= re categories to choose from to enter your song in, =0Aincluding Songwri= ting. The Grand Prize is a huge package that =0Aincludes $1000 wor= th of musical equipment (whatever you need), 2 =0Aweeks stay in a c= ondo suite at your choice of a number of US =0Avacation spots, an i= Pod Shuffle, and a IAC Prime Perpetual Lifetime =0Amembership. But= there are also 3 nice prizes in each of 16 =0Acategories and you can en= ter any original song. You will get a =0Alot of additional exposur= e even by advancing to the later rounds of the =0Acompetition. He= re's a [2]direct =0Alink to enter your song, if not logged in you will hit = login page to do so. =0A =0A Go [3]here =0A= for the details. =0A =0A Good luc= k, =0A =0A The Staff at IACmusic.com (the Ind= ie Capitol of the World) =0A =0A =0A References 1. file://localhost/tmp/3D"htt= 2. 3D"http://iacmusic.com/quickSignup.aspx" 3. file://localhost/tmp/3D=