<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/c906_little/board/cache.c, 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.c?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.c?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-01-20T06:26:50Z</updated>
<entry>
<title>[bsp][cvitek] fix c906_little build warning in cache.c</title>
<updated>2025-01-20T06:26:50Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2025-01-16T03:01:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=680333fc18b41d24c3da9ae736af9471aa03ff04'/>
<id>urn:sha1:680333fc18b41d24c3da9ae736af9471aa03ff04</id>
<content type='text'>
build warning: passing argument 1 of 'inv_icache_range' makes integer
from pointer without a cast [-Wint-conversion]

Analyze: The passed parameter type is void*, which is a pointer type,
but the required type is uintptr_t, which is an integer type. Therefore,
there will be a 'makes integer from pointer without a cast' warning.

Solution: casting the void* pointer to uintptr_t, ensure that the
function receives the correct type.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
<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>
