Thank you for the feedback on my patch. Also I'll add a function to allocation and register map for hook. Also
> The preboot hooks patch works beautifully. Don't forget to make cleanup function in case loader fails > However, mmap causes some > sort of glitch that makes FreeDOS (one of my three drivemap tests, > together with ReactOS and XP) triple-fault. I've been trying to debug it > with GDB-over-QEMU, but it is a real PITA. I haven't found any sort of > bug in the mmap code, so I'm quite dumbfounded right now. I'll look again into it and try to find the bug. Also for convenience I'll add a function grub_mmap_malloc_and_register (size, align, type, flags) One of the flags will instruct it to allocate memory on lowmem. This way this chunk of code can be shared for everything that needs to register a hook > Nevertheless, > I'm proceeding to the XP test, which would likely be the most common use > case for drivemap. > > -- > -- Lazy, Oblivious, Rational Disaster -- Habbit > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel