<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/c906_little/board/cache.h, branch copilot/remove-vbus-code-implementation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little/board/cache.h?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little/board/cache.h?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-01-16T01:05:52Z</updated>
<entry>
<title>[bsp][cvitek] add cache opration functions for cache coherence</title>
<updated>2025-01-16T01:05:52Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2024-11-26T06:54:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6cbb2c3ee59c8f46528df89225cf3aa235d46884'/>
<id>urn:sha1:6cbb2c3ee59c8f46528df89225cf3aa235d46884</id>
<content type='text'>
By default, the small core enables D-Cache without ensuring cache
coherence. Therefore, when using shared memory, inconsistencies can
occur in the data read by the small core and the big core.

Solution: Migrate cache-related functions from the official
duo-buildroot-sdk library to implement cache-related operations in
rthw.h. This allows you to either disable D-Cache or call the
flush_dcache_range function before reading and after writing for
synchronization.

It is recommended to use the flush_dcache_range function, as disabling
D-Cache can have a significant performance impact.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
</feed>
