If the space is mapped by the kernel, you can use /dev/allkmem
so, if the kernel maps the APCI tables, they should be visible there.
(If they're not mappable, then /dev/mem should not give access).

max

On Jul 23, 2005, at 11:54 AM, Martin Cerveny wrote:

2) xsvc is a hack that should be replaced by a proper /dev/mem


I think /dev/mem is unusable, /dev/mem maps the most of RAM/RWM memory and not ROM/FLASH (or RAM/RWM copy of ROM/FLASH) memory where APCI tables reside.

/dev/mem is driven by 'phys_install' memlist ( http:// cvs.opensolaris.org/source/xref/usr/src/uts/common/io/mem.c#633 ). You can see actual memlist with mdb ( echo 'phys_install::walk memlist | ::print "struct memlist" address size' | mdb -k ).

M.C>
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org



_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to