summaryrefslogtreecommitdiff
path: root/components/net/netdev/src/netdev.c
diff options
context:
space:
mode:
authorimcu <[email protected]>2024-11-26 14:54:43 +0800
committerRbb666 <[email protected]>2025-01-16 09:05:52 +0800
commit6cbb2c3ee59c8f46528df89225cf3aa235d46884 (patch)
tree8887e851c8295c2bf5f2c8058c8265f41e17aa35 /components/net/netdev/src/netdev.c
parent95064ed44900815a9ef823bfbeb29768d9acb46a (diff)
[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 <[email protected]>
Diffstat (limited to 'components/net/netdev/src/netdev.c')
0 files changed, 0 insertions, 0 deletions