Subject: Re: cmos ram access?
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: current-users
Date: 03/26/2003 03:25:31
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.)
--
Takahiro Kambe <taca@back-street.net>