[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
Re: I've Coded a New GRUB Function - What Do I Do Next? - adrian15 Jan 26, 2007; 2:22pm
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
> to create an entirely new function, there seems to be changes required in
> 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.
View this message in context:
Sent from the Grub - Bugs mailing list archive at Nabble.com.