[cf1f72e] | 1 | /* |
---|
| 2 | * libcpu Cache Manager Support |
---|
[c5a60819] | 3 | * |
---|
| 4 | * COPYRIGHT (c) 1989-1999. |
---|
| 5 | * On-Line Applications Research Corporation (OAR). |
---|
| 6 | * |
---|
| 7 | * The license and distribution terms for this file may be |
---|
| 8 | * found in the file LICENSE in this distribution or at |
---|
| 9 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 10 | * |
---|
| 11 | * The functions declared in this file are implemented for |
---|
| 12 | * each processor in the cache.c file under libcpu/CPU/. |
---|
| 13 | * They provide the processor specific actions to take for |
---|
| 14 | * implementing most of the RTEMS Cache Manager directives, |
---|
| 15 | * and should only ever be called by these directives. |
---|
| 16 | * |
---|
| 17 | * The API for the RTEMS Cache Manager can be found in |
---|
| 18 | * c/src/exec/rtems/include/rtems/rtems/cache.h |
---|
[cf1f72e] | 19 | * |
---|
| 20 | * $Id$ |
---|
| 21 | */ |
---|
| 22 | |
---|
| 23 | #ifndef __LIBCPU_CACHE_h |
---|
| 24 | #define __LIBCPU_CACHE_h |
---|
| 25 | |
---|
| 26 | #include <sys/types.h> |
---|
| 27 | |
---|
[5e77d129] | 28 | void _CPU_cache_flush_1_data_line(const void *d_addr); |
---|
| 29 | void _CPU_cache_invalidate_1_data_line(const void *d_addr); |
---|
| 30 | void _CPU_cache_freeze_data(void); |
---|
| 31 | void _CPU_cache_unfreeze_data(void); |
---|
| 32 | void _CPU_cache_invalidate_1_instruction_line(const void *d_addr); |
---|
| 33 | void _CPU_cache_freeze_instruction(void); |
---|
| 34 | void _CPU_cache_unfreeze_instruction(void); |
---|
| 35 | void _CPU_cache_flush_entire_data(void); |
---|
| 36 | void _CPU_cache_invalidate_entire_data(void); |
---|
| 37 | void _CPU_cache_enable_data(void); |
---|
| 38 | void _CPU_cache_disable_data(void); |
---|
| 39 | void _CPU_cache_invalidate_entire_instruction(void); |
---|
| 40 | void _CPU_cache_enable_instruction(void); |
---|
| 41 | void _CPU_cache_disable_instruction(void); |
---|
[cf1f72e] | 42 | |
---|
| 43 | #endif |
---|
| 44 | /* end of include file */ |
---|