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

4.104.114.84.95
Last change on this file since c5a60819 was c5a60819, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 18, 2000 at 5:36:42 PM

2000-10-18 John Cotton <john.cotton@…>

  • shared/include/cache.h: Improved file header.
  • Property mode set to 100644
File size: 1.4 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.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
19 *
20 *  $Id$
21 */
22
23#ifndef __LIBCPU_CACHE_h
24#define __LIBCPU_CACHE_h
25
26#include <sys/types.h>
27
28void _CPU_cache_flush_1_data_line(const void *d_addr);
29void _CPU_cache_invalidate_1_data_line(const void *d_addr);
30void _CPU_cache_freeze_data(void);
31void _CPU_cache_unfreeze_data(void);
32void _CPU_cache_invalidate_1_instruction_line(const void *d_addr);
33void _CPU_cache_freeze_instruction(void);
34void _CPU_cache_unfreeze_instruction(void);
35void _CPU_cache_flush_entire_data(void);
36void _CPU_cache_invalidate_entire_data(void);
37void _CPU_cache_enable_data(void);
38void _CPU_cache_disable_data(void);
39void _CPU_cache_invalidate_entire_instruction(void);
40void _CPU_cache_enable_instruction(void);
41void _CPU_cache_disable_instruction(void);
42
43#endif
44/* end of include file */
Note: See TracBrowser for help on using the repository browser.