Page MenuHomeFreeBSD

arm: switch the BUSDMA buffers to normal uncached memory
ClosedPublic

Authored by mmel on Nov 8 2024, 12:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 7, 2:59 AM
Unknown Object (File)
Dec 10 2025, 11:10 AM
Unknown Object (File)
Nov 28 2025, 10:49 AM
Unknown Object (File)
Nov 24 2025, 11:30 PM
Unknown Object (File)
Nov 21 2025, 6:25 PM
Unknown Object (File)
Nov 20 2025, 11:55 PM
Unknown Object (File)
Nov 20 2025, 6:31 AM
Unknown Object (File)
Nov 19 2025, 7:17 PM
Subscribers

Details

Summary

The BUSDMA buffer is treated as normal memory during compilation and compiler
is free to inline/optimize basic functions (i.e. memset, memcpy) accessing
buffers, including when an instruction is generated that performs a word
access to unaligned data. We support this, but only if the buffer in question
is mapped as normal memory (cached or not), but not to memory mapped as
strongly ordered or device type.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable