grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] remove bsd asm helper functions


From: phcoder
Subject: Re: [Patch] remove bsd asm helper functions
Date: Wed, 11 Feb 2009 11:39:21 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Sorry, forgot changelog entry. Here it is:
2009-02-11  Vladimir Serbinenko  <address@hidden>

        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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]