4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 13:33:31 +08:00
imcu 6cbb2c3ee5 [bsp][cvitek] add cache opration functions for cache coherence
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 <ign7798540@gmail.com>
2025-01-16 09:05:52 +08:00
..
2024-10-20 12:18:28 -04:00
2024-11-13 22:56:32 -05:00
2024-12-25 17:40:04 +08:00
2024-10-11 18:32:58 -04:00

RT-THREAD bsp company list