Changeset 4820cce in rtems-libbsd

Timestamp:
04/02/20 14:42:43 (4 years ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
89db1bb27c9d52164a78dc2fda0a2ba9da0920ef
Children:
36b588e
Parents:
7e5d93b
git-author:
Christian Mauderer <christian.mauderer@…> (04/02/20 14:42:43)
git-committer:
Christian Mauderer <christian.mauderer@…> (07/29/20 09:19:14)
Message:

busdma: Option to round to cache lines on sync

Some targets support only flushing or invalidating complete cache lines.
In this cases misaligned buffers might lead to unexpected results. This
patch adds a flag that allows drivers to signal to the bus dma driver
that it is OK to round a buffer to the next full cache line. That's for
example necessary if a driver wants to send out 14 byte via a USB DMA.
Only the driver knows whether these 14 bytes are located in an otherwise
unused cache line aligned buffer.

(No files)

Note: See TracChangeset for help on using the changeset viewer.