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

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*
2 *  libcpu Cache Manager Support
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.rtems.org/license/LICENSE.
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
19 */
20
21#ifndef __LIBCPU_CACHE_h
22#define __LIBCPU_CACHE_h
23
24void _CPU_cache_flush_data_range(const void *d_addr, size_t n_bytes);
25void _CPU_cache_flush_1_data_line(const void *d_addr);
26void _CPU_cache_invalidate_data_range(const void *d_addr, size_t n_bytes);
27void _CPU_cache_invalidate_1_data_line(const void *d_addr);
28void _CPU_cache_freeze_data(void);
29void _CPU_cache_unfreeze_data(void);
30void _CPU_cache_invalidate_instruction_range(const void *i_addr, size_t n_bytes);
31void _CPU_cache_invalidate_1_instruction_line(const void *d_addr);
32void _CPU_cache_freeze_instruction(void);
33void _CPU_cache_unfreeze_instruction(void);
34void _CPU_cache_flush_entire_data(void);
35void _CPU_cache_invalidate_entire_data(void);
36void _CPU_cache_enable_data(void);
37void _CPU_cache_disable_data(void);
38void _CPU_cache_invalidate_entire_instruction(void);
39void _CPU_cache_enable_instruction(void);
40void _CPU_cache_disable_instruction(void);
41
42#endif
43/* end of include file */
Note: See TracBrowser for help on using the repository browser.