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, Feb 5, 4:18 PM
Unknown Object (File)
Sun, Feb 2, 5:05 PM
Unknown Object (File)
Sun, Feb 2, 10:01 AM
Unknown Object (File)
Wed, Jan 29, 2:48 AM
Unknown Object (File)
Mon, Jan 27, 3:36 PM
Unknown Object (File)
Mon, Jan 27, 4:57 AM
Unknown Object (File)
Sun, Jan 26, 6:00 PM
Unknown Object (File)
Thu, Jan 23, 6:27 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 Skipped
Unit
Tests Skipped