On 7/31/07, Marco Gerards <[EMAIL PROTECTED]> wrote: > This is most likely the regparam bug. I wrote a macro to work around > this bug (NESTED_FUNC_ATTR). See, for example, how this is used in > fshelp.[ch]. Most likely the same has to be done for the read_hook. > When you do this, the problem will disappear. I could fix this for > you, if you do not exactly understand what I mean... > > We should at some point check if other hooks have the same problem.
Yes, you're right, after adding the NESTED_FUNC_ATTR macro, it finally get the correct result. But there is a lot of place where modification is needed, including disk.h and file.h. -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel