[clug] Direct access to PCI address from userspace.
Martijn van Oosterhout
kleptog at svana.org
Sat Feb 7 10:00:08 GMT 2004
IIRC, you mmap() /dev/mem or /proc/mem or something along those lines.
The X server uses /dev/mem.
On Sat, Feb 07, 2004 at 08:38:55PM +1100, Brad Hards wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm trying to figure out how to screw around with my video chip. I'd like to
> be able to read from a specific hardware address. I know I need iopl(3), and
> for an IO mapped device I need inw() or similar.
>
> How do I access a memory mapped hardware address?
>
> Brad
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAJLIvGwwszQ/PZzgRAufqAJoD40DYh6JzuFOr/zFUyXZZZ6W5agCgpNbs
> mWGZMDhP24ELNlRgBFCPMe0=
> =izzF
> -----END PGP SIGNATURE-----
--
Martijn van Oosterhout <kleptog at svana.org> http://svana.org/kleptog/
> (... have gone from d-i being barely usable even by its developers
> anywhere, to being about 20% done. Sweet. And the last 80% usually takes
> 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20040207/9406f690/attachment.bin
More information about the linux
mailing list