4.104.114.84.95
Last change
on this file since cf1f72e was
cf1f72e,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/00 at 21:53:38
|
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 | |
---|
12 | void _CPU_disable_cache(); |
---|
13 | void _CPU_enable_cache(); |
---|
14 | |
---|
15 | void _CPU_flush_1_data_cache_line(const void *d_addr); |
---|
16 | void _CPU_invalidate_1_data_cache_line(const void *d_addr); |
---|
17 | void _CPU_freeze_data_cache(void); |
---|
18 | void _CPU_unfreeze_data_cache(void); |
---|
19 | void _CPU_invalidate_1_inst_cache_line(const void *d_addr); |
---|
20 | void _CPU_freeze_inst_cache(void); |
---|
21 | void _CPU_unfreeze_inst_cache(void); |
---|
22 | |
---|
23 | void _CPU_flush_entire_data_cache(void); |
---|
24 | void _CPU_invalidate_entire_data_cache(void); |
---|
25 | void _CPU_enable_data_cache(void); |
---|
26 | void _CPU_disable_data_cache(void); |
---|
27 | void _CPU_invalidate_entire_inst_cache(void); |
---|
28 | void _CPU_enable_inst_cache(void); |
---|
29 | void _CPU_disable_inst_cache(void); |
---|
30 | |
---|
31 | #endif |
---|
32 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.