Commit Graph

8 Commits

Author SHA1 Message Date
Marcel Moolenaar
f40c76d8de Check the sync operation. 2015-07-28 04:54:05 +00:00
Marcel Moolenaar
b2ce196ca1 o make sure the boundary is a power of 2, when not zero.
o   don't convert 0 to ~0 just so that we can use MIN. ~0 is not a
    valid boundary. Introduce BNDRY_MIN that deals with 0 values
    that mean no boundary.
2015-07-26 16:39:37 +00:00
Marcel Moolenaar
42d3ab5d1b Implement unload and sync operations. 2015-07-03 05:44:58 +00:00
Marcel Moolenaar
89abdea8f0 Add create, destroy and load of memory descriptors. 2015-07-03 01:52:22 +00:00
Marcel Moolenaar
90a1793cce Load the allocated memory and return both the physical
address and the bus address to the application.
2015-06-10 22:33:56 +00:00
Marcel Moolenaar
cff0f135c1 Implement mmap(2) for the busdma resource. 2015-06-08 21:47:44 +00:00
Marcel Moolenaar
5dcca8e800 Add DMA memory allocation and freeing.
Slightly rework the tag handling.
2015-06-08 03:00:36 +00:00
Marcel Moolenaar
4f027abddb DMA support part 1: DMA tag create & destroy
Create a special resource (= device special file) for management
of tags and maps, as well as for mapping memory into the address
space. DMA resources are managed using the PROTO_IOC_BUSDMA ioctl.
Part 1 implements tag creation, derivation and destruction.
2015-06-06 16:09:25 +00:00