1
6
7
8
9
10
11
12
13
14
15
16
21
22
23
26
40
41
46
47
48
54
55
56
57
58
/* ... */
#pragma once
#include <stdlib.h>
#include <stdint.h>
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
typedef struct cache_driver_s cache_driver_t;
/* ... */
struct cache_driver_s {
/* ... */
void (*cache_flush)(int cpu_no);
/* ... */
void (*cache_writeback_psram)(void);
}{ ... };
/* ... */
void cache_register_writeback(cache_driver_t *func);
/* ... */
void cache_sync(void);
#ifdef __cplusplus
}{...}
#endif