summaryrefslogtreecommitdiff
path: root/tools/bus_space/Python
AgeCommit message (Collapse)Author
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2019-06-30Add support for Python 3 and make it the default.Marcel Moolenaar
Python 2.7 will retire on Januari 1, 2020. Notes: svn path=/head/; revision=349551
2015-08-02Rename busdma_sync() to busdma_sync_range() and rename theMarcel Moolenaar
base and size parameters to ofs and len (resp). Add a new busdma_sync() that makes the entire MD coherent. Notes: svn path=/head/; revision=286176
2015-07-26Change the dev argument from a full path to just the deviceMarcel Moolenaar
identification (e.g. isa:0x3f0 or pci0:2:1:0). In libbus, the device is turned into a path name. For bus_space_map(), the resource is now specified in a second argument. Before: bus.map('/dev/proto/pci0:2:1:0/pcicfg') busdma.tag_create('/dev/proto/pci0:2:1:0/busdma', ...) Now: bus.map('pci0:2:1:0', 'pcicfg') busdma.tag_create('pci0:2:1:0', ...) Notes: svn path=/head/; revision=285903
2015-07-03Implement busdma_md_unload() and busdma_sync().Marcel Moolenaar
While here: 1. have the Python bindings contain constants for the space identifiers and the sync operation. 2. change the segment iterators to return None when done, not ENXIO. Notes: svn path=/head/; revision=285075
2015-07-03Add busdma_md_create, busdma_md_destroy and busdma_md_load.Marcel Moolenaar
Notes: svn path=/head/; revision=285071
2015-06-11Add accessor functions for iterating over segments. A segmentMarcel Moolenaar
can be in bus address space, physical memory space or virtual memory space. Notes: svn path=/head/; revision=284253
2015-06-10Rename bus_space to bus (i.e. drop _space). This makes theMarcel Moolenaar
API match the convenience macros in <sys/bus.h>. Bus space can now reference both bus and busdma. Notes: svn path=/head/; revision=284228
2015-06-08Add busdma_mem_alloc & busdma_mem_free.Marcel Moolenaar
Notes: svn path=/head/; revision=284146
2015-06-06Add DMA tag management to the C library and Python binding.Marcel Moolenaar
Notes: svn path=/head/; revision=284080
2014-04-28Add a C libary and a Python module that implements an API similarMarcel Moolenaar
to bus_space(9) and that uses the proto(4) driver for talking to hardware. If the I/O resource is a memory mapped I/O resource, then mmap(2) will be attempted to avoid read(2)/write(2) overhead. Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=265056