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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [include/] [l4/] [glue/] [arm/] [cache.h] - Blame information for rev 7

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

Line No. Rev Author Line
1 2 drasko
/*
2
 * Generic cache api calls
3
 *
4
 * Copyright (C) 2010 B Labs Ltd.
5
 *
6
 * Author: Bahadir Balban
7
 */
8
#ifndef __GLUE_CACHE_H__
9
#define __GLUE_CACHE_H__
10
 
11
#include INC_SUBARCH(mmu_ops.h)
12
 
13
/* Lowest byte is reserved for and used by capability permissions */
14
#define ARCH_INVALIDATE_ICACHE                  0x10
15
#define ARCH_INVALIDATE_DCACHE                  0x20
16
#define ARCH_CLEAN_DCACHE                       0x30
17
#define ARCH_CLEAN_INVALIDATE_DCACHE            0x40
18
#define ARCH_INVALIDATE_TLB                     0x50
19
 
20
void arch_invalidate_dcache(unsigned long start, unsigned long end);
21
void arch_clean_invalidate_dcache(unsigned long start, unsigned long end);
22
void arch_invalidate_icache(unsigned long start, unsigned long end);
23
void arch_invalidate_tlb(unsigned long start, unsigned long end);
24
void arch_clean_dcache(unsigned long start, unsigned long end);
25
 
26
#endif /* __GLUE_CACHE_H__ */

powered by: WebSVN 2.1.0

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