From owner-freebsd-amd64@FreeBSD.ORG Thu Jan 13 19:47:45 2005 Return-Path: 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 5019A16A4CE for ; Thu, 13 Jan 2005 19:47:45 +0000 (GMT) Received: from will.iki.fi (will.iki.fi [217.169.64.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AB643D39 for ; Thu, 13 Jan 2005 19:47:45 +0000 (GMT) (envelope-from will@exomi.com) Received: from ZMXLVII.dsl.saunalahti.fi (ZMXLVII.dsl.saunalahti.fi [85.76.70.148]) by will.iki.fi (Postfix) with ESMTP id ED294C3; Thu, 13 Jan 2005 21:47:43 +0200 (EET) From: Ville-Pertti Keinonen To: william paul In-Reply-To: <200501131842.KAA02977@huisne.wrs.com> References: <200501131842.KAA02977@huisne.wrs.com> Content-Type: text/plain Date: Thu, 13 Jan 2005 21:47:33 +0200 Message-Id: <1105645653.684.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-amd64@freebsd.org Subject: Re: RFC: if_ndis on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 19:47:45 -0000 On Thu, 2005-01-13 at 10:42 -0800, william paul wrote: > I have to sit down and do a bit of research on the amd64 calling > conventions first. Right at the moment I don't have any better ideas, > but I'll see what I can come up with. Just for a quick reference, the ELF/Unix conventions are available at (among other places): http://www.x86-64.org/documentation The Microsoft conventions can be found at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/kmarch/64bitAMD_6ec00b51-bf75-41bf-8635-caa8653c8bd9.xml.asp (If the link doesn't work, try googling for "x64 calling conventions"). In any case, thank you for the excellent implementation of the NDIS API! I was genuinely impressed by how everything seemed to work so easily after I had fixed the few minor amd64 issues. With no knowledge of any NDIS or Windows programming, in two evenings I managed to get things working, just by trying things out and figuring out (mostly by disassembling, googling and educated guesses) what was going wrong. ;) If you're ever in Finland, I'd be happy to buy you a drink or ten. :) The same applies to other FreeBSD contributors, as well!