All of lore.kernel.org
 help / color / mirror / Atom feed
From: phcoder <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [Patch] remove bsd asm helper functions
Date: Thu, 12 Mar 2009 13:00:23 +0100	[thread overview]
Message-ID: <49B8F957.7080203@gmail.com> (raw)
In-Reply-To: <4992AAD9.2020200@gmail.com>

Hello. Now I noticed that the helper are still necessary when booting 
i386 kernel on efi-x86_64. I would like this code to be uniform accross 
i386 branches so please don't commit this patch it will be soon 
superseed by my next work
phcoder wrote:
> Sorry, forgot changelog entry. Here it is:
> 2009-02-11  Vladimir Serbinenko  <phcoder@gmail.com>
> 
>     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
>>
> 


-- 

Regards
Vladimir 'phcoder' Serbinenko



      reply	other threads:[~2009-03-12 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 10:29 [Patch] remove bsd asm helper functions phcoder
2009-02-11 10:39 ` phcoder
2009-03-12 12:00   ` phcoder [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B8F957.7080203@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.