From owner-freebsd-amd64@FreeBSD.ORG Tue May 30 01:21:26 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D085516A46B for ; Tue, 30 May 2006 01:21:26 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C79343D46 for ; Tue, 30 May 2006 01:21:26 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so322516uge for ; Mon, 29 May 2006 18:21:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sFLRBr97UOj8EG1q18pYp5Tj0fSWAoZ+HTRGWFT0gu4i+ykzeaCaQVaqesCjG0k3N/lspcpW/Y4cpZZohBts++favKxCeluAG5Zyz2Vu3OuR5yNql4l9/6ENexHS2eZieLUbkPOrhlJVNpDdaljewQMx2QHZheHh05MVsKfBMbQ= Received: by 10.78.67.20 with SMTP id p20mr515224hua; Mon, 29 May 2006 17:53:38 -0700 (PDT) Received: by 10.78.71.19 with HTTP; Mon, 29 May 2006 17:53:38 -0700 (PDT) Message-ID: <84dead720605291753g64c1b899jbe86690d15e6fbde@mail.gmail.com> Date: Tue, 30 May 2006 06:23:38 +0530 From: "Joseph Koshy" To: "Nic Reveles" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-amd64@freebsd.org Subject: Re: assembly code? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 01:21:28 -0000 > I am hoping to find out which registers need to be set to what > for which functions, etc. Preferably 'yasm' style or > something similiar... Have you looked at the ABI spec: http://www.x86-64.org/documentation/abi.pdf See also: src/sys/amd64/amd64/exception.S, look for 'syscall'. -- FreeBSD Developer, http://people.freebsd.org/~jkoshy