My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cache.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  * Header for cache implementation
25  */
26 
27 #ifndef __ARMV7_CACHE_H__
28 #define __ARMV7_CACHE_H__
29 
30 #include <sw_types.h>
31 
35 void v7_flush_dcache_all (void);
36 
42 void flush_page_table_entry (u32 *l1_pte);
43 
49 void invalidate_data_cache_line (va_t va_addr);
50 
57 void clean_dcache_area (u32* l2_pte, int size);
58 
62 void clean_invalidate_dcache (void);
63 
67 void flush_cache_all(void);
68 
72 void flush_tlb_all(void);
73 #endif
void v7_flush_dcache_all(void)
void flush_cache_all(void)
void invalidate_data_cache_line(va_t va_addr)
void clean_invalidate_dcache(void)
void flush_tlb_all(void)
void flush_page_table_entry(u32 *l1_pte)
void clean_dcache_area(u32 *l2_pte, int size)