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. _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub