On 16.03.2012 10:12, Joachim Mammele wrote:
bits = 32;
outb(bits, 0x20A);
outw(-16832, 0x20C);
bits9 = inb(0x209);
return bits9;
This code is easy to port to GRUB2. Just have a look at cmostest command
to see what wrapping you need and replace in* with grub_in* and out*
with grub_out*
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
