From owner-freebsd-ppc@FreeBSD.ORG Thu May 4 16:47:17 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26DE16A48E for ; Thu, 4 May 2006 16:47:17 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F9B43D6D for ; Thu, 4 May 2006 16:47:15 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id BUN49585 (AUTH peterg@ptree32.com.au); Fri, 5 May 2006 02:47:09 +1000 (EST) Message-ID: <445A300F.3000401@freebsd.org> Date: Thu, 04 May 2006 09:47:11 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: Aditya Godbole References: <2f3a439f0605040651x549914efq5f1d95e7b0d2a468@mail.gmail.com> In-Reply-To: <2f3a439f0605040651x549914efq5f1d95e7b0d2a468@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: loader startup code 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, 04 May 2006 16:47:18 -0000 Hi Aditya, > This is my first mail to the list. There don't seem to be any > discussions going on here, so I don't know whether this is the right > place to post the query. This is the right place. > I've been trying to navigate my way through the execution of the > kernel and in the loader directory (boot/powerpc/loader/start.c), a > function called 'main' gets called. I couldn't find this function > though. Any pointers? It's in boot/ofw/common/main.c. The makefile in powerpc/loader/ gives clues to the files/libs that are used. later, Peter.