| #
790e93c3 |
| 27-Jun-2013 |
arsharma <[email protected]> |
external/PRIVATE/libpciaccess: Klocwork Fixes
BZ: 119061
KW fixes for libpciaccess module
Change-Id: I334290fc1de5fbcfe56721feb27663e1a1518cd4 Signed-off-by: arsharma <[email protected]
external/PRIVATE/libpciaccess: Klocwork Fixes
BZ: 119061
KW fixes for libpciaccess module
Change-Id: I334290fc1de5fbcfe56721feb27663e1a1518cd4 Signed-off-by: arsharma <[email protected]> Reviewed-on: http://android.intel.com:8080/115795 Reviewed-by: Satyanantha, Rama Gopal M <[email protected]> Reviewed-by: Lister, Ian <[email protected]> Reviewed-by: S, Deepak <[email protected]> Reviewed-by: Barbalho, Rafael <[email protected]> Reviewed-by: Reese, Armin C <[email protected]> Reviewed-by: Stimson, Dale B <[email protected]> Reviewed-by: Goel, Akash <[email protected]> Tested-by: Stimson, Dale B <[email protected]> Reviewed-by: buildbot <[email protected]> Tested-by: buildbot <[email protected]>
show more ...
|
| #
8cc9a8fe |
| 10-May-2011 |
Adam Jackson <[email protected]> |
Add map_legacy interface
This allows platforms to hand back mmaps of the low 1M (ISA) address space on a per-domain basis.
Signed-off-by: Adam Jackson <[email protected]> Reviewed-by: Jeremy Huddlest
Add map_legacy interface
This allows platforms to hand back mmaps of the low 1M (ISA) address space on a per-domain basis.
Signed-off-by: Adam Jackson <[email protected]> Reviewed-by: Jeremy Huddleston <[email protected]>
show more ...
|
| #
e1a0240a |
| 17-Sep-2011 |
Alan Coopersmith <[email protected]> |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersm
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
e5159771 |
| 12-Jul-2010 |
Dave Airlie <[email protected]> |
pciaccess: fix use after free.
Using the pointer passed to realloc earlier isn't a recipe for success.
Signed-off-by: Dave Airlie <[email protected]>
|
| #
5d1bdf0c |
| 16-Jul-2009 |
Dave Airlie <[email protected]> |
add support for finding if something has a kernel driver
|
| #
b2838fb6 |
| 04-Mar-2009 |
Dave Airlie <[email protected]> |
pciaccess: provide a method to detect if a device is boot VGA
When the linux kernel exposes this information, we can use this interface in the X server to detect whether the kernel believes the devi
pciaccess: provide a method to detect if a device is boot VGA
When the linux kernel exposes this information, we can use this interface in the X server to detect whether the kernel believes the device we are looking at is the boot VGA device.
Signed-off-by: Dave Airlie <[email protected]>
show more ...
|
| #
ccbfd4cf |
| 19-Nov-2008 |
Alan Coopersmith <[email protected]> |
Fill in byte swapping routines for big-endian Solaris machines
|
| #
d43d21c8 |
| 15-Oct-2008 |
Alan Coopersmith <[email protected]> |
Fix various typos (mostly in comments)
|
| #
4c1c607c |
| 11-Oct-2008 |
Juan RP <[email protected]> |
Add NetBSD support
It's based in the OpenBSD code, but with differences because on NetBSD, to set MTRRs we have to use i386/x86_64_set_mtrr() and link to libi386 or libx86_64.
X.Org bug#17931 <http
Add NetBSD support
It's based in the OpenBSD code, but with differences because on NetBSD, to set MTRRs we have to use i386/x86_64_set_mtrr() and link to libi386 or libx86_64.
X.Org bug#17931 <http://bugs.freedesktop.org/show_bug.cgi?id=17931>
show more ...
|
| #
4bc9292f |
| 21-May-2008 |
Dave Airlie <[email protected]> |
linux: add pci_device_enable entrypoint and sysfs support for it
|
| #
a3b63c43 |
| 07-Apr-2008 |
Hasso Tepper <[email protected]> |
Add DragonFly BSD support
DragonFly behaves exactly like FreeBSD, so no problem here.
|
| #
d898072e |
| 12-Mar-2008 |
Mark Kettenis <[email protected]> |
OpenBSD support for libpciaccess.
xserver and libpciaccess both need to open /dev/xf86, which can only be opened once. I implemented pci_system_init_dev_mem() like Ian suggested. This requires som
OpenBSD support for libpciaccess.
xserver and libpciaccess both need to open /dev/xf86, which can only be opened once. I implemented pci_system_init_dev_mem() like Ian suggested. This requires some minor changes to the BSD-specific os-support code. Since pci_system_init_dev_mem() is a no-op on FreeBSD this should be no problem.
show more ...
|
| #
25de45d2 |
| 19-Feb-2008 |
Julien Cristau <[email protected]> |
Use <byteswap.h> when using glibc, not just on linux
This fixes the build on GNU/kFreeBSD.
|
| #
82a2ff0b |
| 04-Sep-2007 |
Ian Romanick <[email protected]> |
Add stub version of pci_device_map_memory_range
This stub version of pci_device_map_memory_range allows the vesa driver and other users of this interface to continue functioning with current libpcia
Add stub version of pci_device_map_memory_range
This stub version of pci_device_map_memory_range allows the vesa driver and other users of this interface to continue functioning with current libpciaccess bits. That said, users of this interface should convert over to pci_device_map_range as soon as possible.
show more ...
|
| #
08ff9f7f |
| 31-Aug-2007 |
Ian Romanick <[email protected]> |
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
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.
show more ...
|
| #
206e2921 |
| 06-Jun-2007 |
edward shu <[email protected]> |
Libpciaccess on Solaris Initial integration
Libpciaccess on Solaris Initial integration. It depends on devfs to access pci configuration space, also xsvc is used for memory map.
|
| #
cc1d08f1 |
| 17-Jan-2007 |
Ian Romanick <[email protected]> |
Fix bad parameter to pci_device_cfg_write in pci_device_cfg_write_u8.
When changing the interface of the pci_device_cfg_write_u* functions in commit 37ce43c1804bad9c52b8316eaefd3a57b670ee29, I forgo
Fix bad parameter to pci_device_cfg_write in pci_device_cfg_write_u8.
When changing the interface of the pci_device_cfg_write_u* functions in commit 37ce43c1804bad9c52b8316eaefd3a57b670ee29, I forgot to modify pci_device_cfg_write_u8 to pass a pointer to data to pci_device_cfg_write instead of just passing data.
show more ...
|
| #
37ce43c1 |
| 15-Jan-2007 |
Ian Romanick <[email protected]> |
Convert pci_device_write_u* funtions to take a value instead of a pointer.
At anholt's request, the pci_device_write_u* functions have been converted to take the value to be written as a parameter i
Convert pci_device_write_u* funtions to take a value instead of a pointer.
At anholt's request, the pci_device_write_u* functions have been converted to take the value to be written as a parameter instead of a pointer to the value.
Bump the version to 0.8.0.
show more ...
|
| #
c65aa763 |
| 12-Jan-2007 |
Ian Romanick <[email protected]> |
Add interfaces to map / unmap specific memory ranges, bump lib version to 0.7.0.
Add pci_device_map_memory_range and pci_device_unmap_memory_range to map and unmap specific memory ranges. The unmap
Add interfaces to map / unmap specific memory ranges, bump lib version to 0.7.0.
Add pci_device_map_memory_range and pci_device_unmap_memory_range to map and unmap specific memory ranges. The unmap bit is still a bit hinkey (unmaps the whole BAR). Works so far for initial conversion of VESA driver. Will need to be revisited.
show more ...
|
| #
cf1b4d3d |
| 30-Jul-2006 |
Eric Anholt <[email protected]> |
Add endian macros for BSD.
|
| #
edf39089 |
| 30-Jul-2006 |
Eric Anholt <[email protected]> |
Use ENXIO instead of ENODATA for pci reads returning less than desired.
|
| #
64af050c |
| 12-Apr-2006 |
Ian Romanick <[email protected]> |
Bump to version 0.4.0. Add multiple-inclusion protection. Add new function to write masked bits to PCI config space. This mirrors functionality currently available in X.org that is slated to be
Bump to version 0.4.0. Add multiple-inclusion protection. Add new function to write masked bits to PCI config space. This mirrors functionality currently available in X.org that is slated to be removed. Gut old regex based search mechanism with a new mechanism that is modeled after the Linux kernel. In addition to searching for devices by device / vendor ID, it is possible to search for devices by their domain / bus / slot / function. Fix serious bus in the reading of ROMs and in the unmapping of regions. The main point is that the map routine depens on the pci_mem_region::memory pointer being non-NULL only when the region is mapped. Therefore, the unmap routine should set it to NULL after unmapping. Update to use new search API.
show more ...
|
| #
5a04522a |
| 18-Mar-2006 |
Ian Romanick <[email protected]> |
Initial import of libpciaccess.
|