CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
cache.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
9
10#ifndef CARDSIGHT_CACHE_H
11#define CARDSIGHT_CACHE_H
12
13#include <stddef.h>
14
16#define CACHE_LINE_BYTES 64U
17
27void dcache_clean_range(const void *address, size_t length);
28
39void dcache_invalidate_range(const void *address, size_t length);
40
41#endif /* CARDSIGHT_CACHE_H */
void dcache_clean_range(const void *address, size_t length)
Write the dirty lines of the range back to memory.
void dcache_invalidate_range(const void *address, size_t length)
Drop the cached copy of the range.