History log of /freebsd-src/tools/bus_space/Python/lang.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# da4f5bda 30-Jun-2019 Marcel Moolenaar <marcel@FreeBSD.org>

Add support for Python 3 and make it the default.

Python 2.7 will retire on Januari 1, 2020.


# 015b8583 02-Aug-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Rename busdma_sync() to busdma_sync_range() and rename the
base and size parameters to ofs and len (resp). Add a new
busdma_sync() that makes the entire MD coherent.


# 71d80fba 26-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Change the dev argument from a full path to just the device
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 s

Change the dev argument from a full path to just the device
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', ...)

show more ...


# 4af242aa 03-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Implement busdma_md_unload() and busdma_sync().

While here:
1. have the Python bindings contain constants for the space
identifiers and the sync operation.
2. change the segment iterators to r

Implement busdma_md_unload() and busdma_sync().

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.

show more ...


# 22900685 03-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add busdma_md_create, busdma_md_destroy and busdma_md_load.


# cc606478 11-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add accessor functions for iterating over segments. A segment
can be in bus address space, physical memory space or virtual
memory space.


# c0027d73 10-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Rename bus_space to bus (i.e. drop _space). This makes the
API match the convenience macros in <sys/bus.h>. Bus space
can now reference both bus and busdma.


# 6f769b73 08-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add busdma_mem_alloc & busdma_mem_free.


# 9c2cdb1a 06-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add DMA tag management to the C library and Python binding.


# 0c2b180a 28-Apr-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Add a C libary and a Python module that implements an API similar
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

Add a C libary and a Python module that implements an API similar
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.

show more ...