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 'phcoder' Serbinenko
Subject: Re: status grub2 port of grub-legasy map command
Date: Mon, 1 Jun 2009 11:53:46 +0200

> Hmm... from those docs, and accepting that we ignore TSRs, we need to
> save %ah and %dl at handler entry, then check the saved %ah at exit,
> like the old handler from GRUB Legacy did - by the way, when writing the
> new handler, I asked what that code did and noone was able to tell me ¬¬
I've the check before calling original handler. Let's hope it makes
code more readable.
>
> The only functions in the standard that return in %dl are 08h and 15h,
> so the check should be simple. If we want to be even more extensible, we
> could have a 32-byte bitmap, one bit per %ah function, and restore %dl
> depending on the value of the particular bit. However, I think that
> would be going too far.
>
> --
> -- Lazy, Oblivious, Recurrent Disaster -- Habbit
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Attachment: drivemap.diff
Description: Text Data


reply via email to

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