From owner-freebsd-questions@FreeBSD.ORG Fri Aug 19 02:24:27 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 AD7FE16A41F for ; Fri, 19 Aug 2005 02:24:26 +0000 (GMT) (envelope-from snort_sam@yahoo.com) Received: from web54405.mail.yahoo.com (web54405.mail.yahoo.com [206.190.49.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 1D46243D48 for ; Fri, 19 Aug 2005 02:24:25 +0000 (GMT) (envelope-from snort_sam@yahoo.com) Received: (qmail 4436 invoked by uid 60001); 19 Aug 2005 02:24:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=c8WOnmSdWtB93fbleqEEDW/Lfjg57iA5nO0hPynWFwxOdfCtzGxnWKop5siUorjGV/AkGZL5ZbcsIgqMlLfdrtI+L1YSwHsHqbg9sTzMeLQAtmSOE4tIeYCx1DOQz3jbiYRCTuJzDbwZm1I4iuwxda/6k2CddrByltMW3QBVOr4= ; Message-ID: <20050819022425.4434.qmail@web54405.mail.yahoo.com> Received: from [203.201.99.140] by web54405.mail.yahoo.com via HTTP; Thu, 18 Aug 2005 19:24:25 PDT Date: Thu, 18 Aug 2005 19:24:25 -0700 (PDT) From: Bsderss To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: 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 02:24:27 -0000 Hi, Can anyone please tell me where is the source code of i386 boot loader in the freebsd src tree? I found there is some code in the following paths: # find . -name "loader*" ./share/examples/bootforth/loader.rc ./sys/boot/alpha/loader ./sys/boot/arc/loader ./sys/boot/common/loader.8 ./sys/boot/efi/loader ./sys/boot/ficl/loader.c ./sys/boot/forth/loader.4th ./sys/boot/forth/loader.4th.8 ./sys/boot/forth/loader.conf ./sys/boot/forth/loader.conf.5 ./sys/boot/forth/loader.rc ./sys/boot/i386/loader ./sys/boot/i386/loader/loader.rc ./sys/boot/pc98/loader ./sys/boot/sparc64/loader 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... Thanks Sam. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com