summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-30 23:07:32 +0000
committeradrian <adrian@FreeBSD.org>2015-10-30 23:07:32 +0000
commit305a5a647d16e46035cba97d64d0178f428060d3 (patch)
tree2f8a0397447a881ec650bac8520615f7375cc1c1 /lib/libc/stdlib/labs.c
parent401d1e9afaddb14f0a2e64edb2da1d634436ac35 (diff)
downloadFreeBSD-src-305a5a647d16e46035cba97d64d0178f428060d3.zip
FreeBSD-src-305a5a647d16e46035cba97d64d0178f428060d3.tar.gz
arge: do an explicit flush between updating the TX ring and starting transmit.
The MIPS busdma sync operations currently are a big no-op on coherent memory. This isn't strictly correct behaviour as we need a SYNC in here to ensure that the writes have finished and are visible in main memory before the MMIO accesses occur. This will have to be addressed in a later commit. But, before that happens, let's at least do a flush here to make things more "correct". This is required for even remotely sensible behaviour on mips74k with write-through memory enabled.
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud