mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 21:53:30 +08:00
0c13711396
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2350 bbd45198-f89e-11dd-88c7-29a3b14d5316
24 lines
600 B
C
24 lines
600 B
C
#ifndef __CACHE_H__
|
|
#define __CACHE_H__
|
|
|
|
#include <asm/processor.h>
|
|
|
|
#if !defined(__ASSEMBLY__)
|
|
void flush_dcache_range(unsigned long start, unsigned long stop);
|
|
void clean_dcache_range(unsigned long start, unsigned long stop);
|
|
void invalidate_dcache_range(unsigned long start, unsigned long stop);
|
|
void flush_dcache(void);
|
|
void invalidate_dcache(void);
|
|
void invalidate_icache(void);
|
|
|
|
void icache_enable(void);
|
|
void icache_disable(void);
|
|
unsigned long icache_status(void);
|
|
|
|
void dcache_enable(void);
|
|
void dcache_disable(void);
|
|
unsigned long dcache_status(void);
|
|
#endif
|
|
|
|
#endif
|