OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [spu/] [spu_cache.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 709 jeremybenn
/* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
2
 
3
   This file is free software; you can redistribute it and/or modify it under
4
   the terms of the GNU General Public License as published by the Free
5
   Software Foundation; either version 3 of the License, or (at your option)
6
   any later version.
7
 
8
   This file is distributed in the hope that it will be useful, but WITHOUT
9
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11
   for more details.
12
 
13
   Under Section 7 of GPL version 3, you are granted additional
14
   permissions described in the GCC Runtime Library Exception, version
15
   3.1, as published by the Free Software Foundation.
16
 
17
   You should have received a copy of the GNU General Public License and
18
   a copy of the GCC Runtime Library Exception along with this program;
19
   see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
20
   <http://www.gnu.org/licenses/>.  */
21
 
22
#ifndef _SPU_CACHE_H
23
#define _SPU_CACHE_H
24
 
25
void *__cache_fetch_dirty (__ea void *ea, int n_bytes_dirty);
26
void *__cache_fetch (__ea void *ea);
27
void __cache_evict (__ea void *ea);
28
void __cache_flush (void);
29
void __cache_touch (__ea void *ea);
30
 
31
#define cache_fetch_dirty(_ea, _n_bytes_dirty) \
32
     __cache_fetch_dirty(_ea, _n_bytes_dirty)
33
 
34
#define cache_fetch(_ea) __cache_fetch(_ea)
35
#define cache_touch(_ea) __cache_touch(_ea)
36
#define cache_evict(_ea) __cache_evict(_ea)
37
#define cache_flush() __cache_flush()
38
 
39
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.