New interfaces to map memory with MTRR (or similar) support.
authorIan Romanick <idr@us.ibm.com>
Fri, 31 Aug 2007 00:52:02 +0000 (17:52 -0700)
committerIan Romanick <idr@us.ibm.com>
Fri, 31 Aug 2007 00:52:19 +0000 (17:52 -0700)
commit08ff9f7fbd26dd2d0e30351b556c71c272f6be6c
tree0c4849c43518d4d172b4a1f409a8e35579b13e23
parentc87273e8e20c8bff892ded31295dba103f27dd35
New interfaces to map memory with MTRR (or similar) support.

Added new functions pci_device_map_range and pci_device_unmap_range to
handle mapping of PCI device BARs.  These new interfaces allow the
possiblity of MTRRs on platforms that support them.

These additional APIs necessitated changing some internal interfaces.  The
code for FreeBSD and Solaris has been updated but has not been compiled or
tested.

Old interfaces are marked deprecated and will eventually be removed.
configure.ac
include/pciaccess.h
src/Makefile.am
src/common_interface.c
src/common_map.c [new file with mode: 0644]
src/freebsd_pci.c
src/linux_sysfs.c
src/pciaccess_private.h
src/solx_devfs.c