From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LXCYD-0006KI-Vo for mharc-grub-devel@gnu.org; Wed, 11 Feb 2009 05:42:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXCYB-0006J3-Ia for grub-devel@gnu.org; Wed, 11 Feb 2009 05:42:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXCYA-0006Ic-Gv for grub-devel@gnu.org; Wed, 11 Feb 2009 05:42:38 -0500 Received: from [199.232.76.173] (port=57210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXCYA-0006IZ-5G for grub-devel@gnu.org; Wed, 11 Feb 2009 05:42:38 -0500 Received: from mail-fx0-f16.google.com ([209.85.220.16]:51387) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXCY9-0000Dg-K1 for grub-devel@gnu.org; Wed, 11 Feb 2009 05:42:37 -0500 Received: by fxm9 with SMTP id 9so340108fxm.18 for ; Wed, 11 Feb 2009 02:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=GshheJU8zdmzFnBKKwcg3CEhptN+jHPAGtJZbVig5cg=; b=aLK/qjzlEYFV880T/RgcCHAnNL5q2DYltm7TEg35Ynyh20dVpkuom94qDpMzkVU1c4 IFwGP5NN6lKpnsn6RU+elpmlHuehMNLwmPL71hoIz5PvuI8nn4AEOUEP0uMksb5OSKIM hx2CCNuHWJQrBQikvJ4YGenUDuV7S6PqFJVE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=p1bQthB7JNQgwWaHsdQ9CGW9GDvkl21A3fj/ssmn0AcWXvME0B6P2pfNLW6TP8CCKJ Z0ybFBSbhJPOcfrW1CKQNu1b0aIbCbcYgnZoLfHj167oRBVoxs1da1gnniG0OkBwKsOU 7JsgOULCMOllEFd58LDCYzObFeDwU+/dovykw= Received: by 10.86.29.8 with SMTP id c8mr496870fgc.67.1234348763950; Wed, 11 Feb 2009 02:39:23 -0800 (PST) Received: from ?192.168.1.25? (230-40.1-85.cust.bluewin.ch [85.1.40.230]) by mx.google.com with ESMTPS id 4sm1248668fge.14.2009.02.11.02.39.22 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Feb 2009 02:39:22 -0800 (PST) Message-ID: <4992AAD9.2020200@gmail.com> Date: Wed, 11 Feb 2009 11:39:21 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 References: <4992A884.4050406@gmail.com> In-Reply-To: <4992A884.4050406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [Patch] remove bsd asm helper functions X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 10:42:39 -0000 Sorry, forgot changelog entry. Here it is: 2009-02-11 Vladimir Serbinenko Move BSD helper out of kernel * conf/i386-pc.rmk: Add loader/i386/bsd_helper.S to _bsd.mod * kern/i386/loader.S: Removed BSD helpers * include/grub/i386/loader.h: Removed declaration of grub_unix_real_boot * loader/i386/bsd.c (grub_freebsd_boot): Replaced call to grub_unix_real_boot by direct call of kernel (grub_netbsd_boot): Likewise (grub_openbsd_boot): Likewise phcoder wrote: > Hello. Asm helper functions for bsd aren't really needed. Actually BSD > entry point may be called directly as cdecl function. With this approach > theese helper functions don't take place in kernel anymore. Tested with > freebsd, openbsd and netbsd. However my tests were limited to launching > kernel and see if it complains about not being able to mount root. Can > someone test it with complete system? > Thanks > Vladimir 'phcoder' Serbinenko >