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