summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/or1k/shared/cache/cache_.h
blob: ea379580d5e5367921f241b509016f6c8959a042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * or1k Cache Manager Support
 */

#ifndef __OR1K_CACHE_H
#define __OR1K_CACHE_H

#include <bsp/cache_.h>
#include "../../../shared/include/cache.h"

#define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS 1

void _CPU_cache_flush_data_range(const void *d_addr, size_t n_bytes);
void _CPU_cache_invalidate_data_range(const void *d_addr, size_t n_bytes);
void _CPU_cache_invalidate_instruction_range(const void *i_addr, size_t n_bytes);

#endif
/* end of include file */