grub-devel
[Top][All Lists]
Advanced

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

Re: status grub2 port of grub-legasy map command


From: Vladimir Serbinenko
Subject: Re: status grub2 port of grub-legasy map command
Date: Fri, 17 Apr 2009 23:42:49 +0200

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
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel



reply via email to

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