Date: Sat, 6 Oct 2007 16:03:47 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: x11@freebsd.org Subject: Using /dev/mem to read video BIOS ROM Message-ID: <20071006152756.C15040@wonkity.com>
next in thread | raw e-mail | index | archive | help
Xorg says my video BIOS ROM is at 0xDFEC0000: romsave = pciReadLong(Tag, PCI_MAP_ROM_REG); (in Pci.c/handlePciBIOS) Using /dev/mem to read the ROM works, but at offset 0xC0000. "romsave & 0x000fffff" can't be the general way to convert from address to /dev/mem offset. -Warren Block * Rapid City, South Dakota USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071006152756.C15040>