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)
Fri, Oct 3, 1:42 AM
Unknown Object (File)
Tue, Sep 30, 6:07 PM
Unknown Object (File)
Tue, Sep 30, 4:21 PM
Unknown Object (File)
Mon, Sep 29, 1:43 AM
Unknown Object (File)
Sun, Sep 21, 8:24 PM
Unknown Object (File)
Fri, Sep 19, 2:20 AM
Unknown Object (File)
Thu, Sep 18, 4:58 PM
Unknown Object (File)
Sep 18 2025, 2:30 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