bug-grub
[Top][All Lists]
Advanced

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

Re: I've Coded a New GRUB Function - What Do I Do Next? - adrian15 Jan 2


From: sburtchin
Subject: Re: I've Coded a New GRUB Function - What Do I Do Next? - adrian15 Jan 26, 2007; 2:22pm
Date: Thu, 15 Feb 2007 20:21:14 -0800 (PST)

NOTE: Adding message of adrian15 Jan 26, 2007; 2:22pm to Nabble thread.

Steve Burtchin wrote:
> OK - that's what I need to patch code to an existing function, but if I
> want
> to create an entirely new function, there seems to be changes required in
> a
> lot of places.  Details are in the thread "How To Write Extended Partition
> Tables from GRUB?".  That's where I really don't know how it all works
> together - (ie. to create a new function).

Create a new function means making a new grub command?

It is not so difficult, adding a line at the bottom of the builtins.c 
like &builtin_command in alphabetical order.

And copying pasteing an existing one and changing its name on the two 
functions that define a grub command.

Check find and findf grub commands in source code to see the difference.

>>adrian15

adrian15
-- 
View this message in context: 
http://www.nabble.com/I%27ve-Coded-a-New-GRUB-Function---What-Do-I-Do-Next--tf3038737.html#a8998776
Sent from the Grub - Bugs mailing list archive at Nabble.com.





reply via email to

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