From owner-freebsd-questions@FreeBSD.ORG Fri Aug 19 06:51:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D740016A41F for ; Fri, 19 Aug 2005 06:51:54 +0000 (GMT) (envelope-from devfreebsd@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 709B543D58 for ; Fri, 19 Aug 2005 06:51:54 +0000 (GMT) (envelope-from devfreebsd@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so98178wxd for ; Thu, 18 Aug 2005 23:51:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KoL75oZjbO4KOlJezXuXq8ke0v3s875WE1rpfiouMBplL1slwGrs07iklf7iLpig8htAr5hsZeAC2F3E3XEG/2o0R+Z3RraRbtAdy9AkyjRz7v47XUnzuyxGVhXKJ60vBJuDIoALIzg6jph0CrVHTyp6eu88tCt5o3mX1cXTD/4= Received: by 10.70.90.2 with SMTP id n2mr4141wxb; Thu, 18 Aug 2005 23:51:53 -0700 (PDT) Received: by 10.70.118.4 with HTTP; Thu, 18 Aug 2005 23:51:53 -0700 (PDT) Message-ID: <6e58a030508182351710e7c9d@mail.gmail.com> Date: Fri, 19 Aug 2005 12:21:53 +0530 From: Dev FreeBSD To: freebsd-questions@freebsd.org In-Reply-To: <20050819022423.91820.qmail@web54404.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050819022423.91820.qmail@web54404.mail.yahoo.com> Subject: Re: src of boot loader. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 06:51:55 -0000 On 8/19/05, Bsderss wrote: > Hi, >=20 > Can anyone please tell me where is the source code of > i386 boot loader in the freebsd src tree? >=20 >=20 > Obviously different arch has different boot loader. If > I just want to see the src of i386 boot loader, is the > path ./sys/boot/i386/loader the correct source for > this? I remembered there is part of the boot loader > code is written in assembly, but I couldn't find it > here... I may be had a bad memory... >=20 > Thanks > Sam. >=20 Take a look at src/sys/boot/i386/boot0/boot0.S --=20 thanks Dev.