Subject: Re: Reading Boot ROMS
To: None <Havard.Eidnes@runit.sintef.no>
From: Mark Dapoz <md@dementia.org>
List: port-sparc
Date: 09/17/1997 23:04:10
> FWIW /usr/include/mon/openprom.h in SunOS4 says:
>
> #if defined(sun4c) || defined(sun4m)
> #define MONSTART (0xffd00000)
> #define MONEND (0xfff00000)
> #endif
I noticed that in the NetBSD sources too. bsd_openprom.h says:
#define OPENPROM_STARTVADDR 0xffd00000
#define OPENPROM_ENDVADDR 0xfff00000
I wrote a program to try and read those addresses in both /dev/mem
and /dev/kmem but the read just aborts with EFAULT. Does anyone know
if that addresse range is mapped in the kernel virtual space?
-mark