Mapping Physical Memory without a Device?

cd_freebsd cd_freebsd at gatorzone.com
Mon Jun 9 05:22:41 PDT 2003


John Baldwin <jhb at FreeBSD.org> wrote:

>> The first 1 meg of memory is 1:1 mapped at KERNBASE.  IOW, you can get to the BIOS at KERNBASE + 0xc0000.  That should cover these first two items.

Even on non-i386 machines? 

I guess it really doesn't matter since I am reading the BIOS area to detect that I am running on a specific type machine. The other calls are ignored if the data read does not equal the expected values.

Thanks for the help. 


More information about the freebsd-hackers mailing list