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
27
void
dcache_clean_range
(
const
void
*address,
size_t
length);
28
39
void
dcache_invalidate_range
(
const
void
*address,
size_t
length);
40
41
#endif
/* CARDSIGHT_CACHE_H */
dcache_clean_range
void dcache_clean_range(const void *address, size_t length)
Write the dirty lines of the range back to memory.
dcache_invalidate_range
void dcache_invalidate_range(const void *address, size_t length)
Drop the cached copy of the range.
software
include
hal
cache.h
Generated by
1.15.0