On Thu, Aug 21, 2008 at 02:13:05PM +0200, Stefan Reinauer wrote: > > The sequence of writing to port 0x70 / reading from port 0x71 reflects > reading from the computer's "cmos" nvram memory. > bit 7 of 0x70 is reserved for disabling NMIs, so the actual information > is stored in byte 0x79[8] in the cmos. > > To allow full flexibility, there should just be a module that allows > reading / writing the cmos values (could also be useful for other > things, such as reading a boot order set by the bios).
Ah, good catch. For the record, we already have code that accesses cmos, in the date handling functions recently added by Bean. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel