Subject: Re: mother board
To: None <tech-kern@netbsd.org>
From: Peter C. Wallace <pcw@mesanet.com>
List: tech-kern
Date: 01/10/2002 16:06:58
>> In article <02010916432201.02545@CAT80> you write:
>> >I have now spent two days looking for something which might be usefull but
>> >come up with only linux related stuff. So I was wondering if any one knows
>> >how to read absolute memory addresses in netbsd of course or has some
>other
>> >ideas??? :)
>>
>> See mem(4):
>>
>> DESCRIPTION
>> The special file /dev/mem is an interface to the physical memory of
>the
>> computer. Byte offsets in this file are interpreted as physical
>memory
>> addresses. Reading and writing this file is equivalent to reading and
>> writing memory itself. Only offsets within the bounds of /dev/mem are
>> allowed.
>is it any interface for reading (or maybe writing) system BIOS/FLASH chip?
The BIOS image (maybe an unpacked image) in RAM yes, the actual flash chip,
no. Access to the actual flash chip is almost always hidden by shadowed RAM
and chipset specific magic...
Peter Wallace