Subject: Re: cmos ram access?
To: Takahiro Kambe <taca@back-street.net>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 03/25/2003 13:33:32
Takahiro Kambe <taca@back-street.net> writes:
> In message <87ptofqq2b.fsf@snark.piermont.com>
> on 25 Mar 2003 13:06:04 -0500,
> "Perry E. Metzger" <perry@piermont.com> wrote:
> > However, it should be straightforward to build a /dev/nvram equivalent
> > if you wish to -- there isn't much that it needs to do. A lot of the
> > code you want is associated with the i386 cmos clock functions we
> > already have...
> I've written such device as "hack" level for my own purpose.
>
> /dev/cmos read/write 128 bytes BIOS's cmos data.
> (supporting simple checksum calclation)
>
> /dev/bios read 256 bytes of BIOS ROM.
> (using md5/sha1 of this data for identifying
> BIOS's revision.)
Hmm. Maybe it would be useful to clean it up and commit?
Perry