source: rtems/c/src/lib/libcpu/shared/include/cache.h @ cf1f72e

4.104.114.84.95
Last change on this file since cf1f72e was cf1f72e, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 13, 2000 at 9:53:38 PM

Moved i386 and m68k cache management code to libcpu. Everything
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.

  • Property mode set to 100644
File size: 811 bytes
Line 
1/*
2 *  libcpu Cache Manager Support
3 *
4 *  $Id$
5 */
6
7#ifndef __LIBCPU_CACHE_h
8#define __LIBCPU_CACHE_h
9
10#include <sys/types.h>
11
12void _CPU_disable_cache();
13void _CPU_enable_cache();
14
15void _CPU_flush_1_data_cache_line(const void *d_addr);
16void _CPU_invalidate_1_data_cache_line(const void *d_addr);
17void _CPU_freeze_data_cache(void);
18void _CPU_unfreeze_data_cache(void);
19void _CPU_invalidate_1_inst_cache_line(const void *d_addr);
20void _CPU_freeze_inst_cache(void);
21void _CPU_unfreeze_inst_cache(void);
22
23void _CPU_flush_entire_data_cache(void);
24void _CPU_invalidate_entire_data_cache(void);
25void _CPU_enable_data_cache(void);
26void _CPU_disable_data_cache(void);
27void _CPU_invalidate_entire_inst_cache(void);
28void _CPU_enable_inst_cache(void);
29void _CPU_disable_inst_cache(void);
30
31#endif
32/* end of include file */
Note: See TracBrowser for help on using the repository browser.