PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/sh/include/cpu-sh5/cpu/mmu_context.h

https://bitbucket.org/cresqo/cm7-p500-kernel
C Header | 21 lines | 13 code | 4 blank | 4 comment | 0 complexity | 4f80af982bb243a381b29cd295133c8f MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#ifndef __ASM_SH_CPU_SH5_MMU_CONTEXT_H
 2#define __ASM_SH_CPU_SH5_MMU_CONTEXT_H
 3
 4/* Common defines */
 5#define TLB_STEP	0x00000010
 6#define TLB_PTEH	0x00000000
 7#define TLB_PTEL	0x00000008
 8
 9/* PTEH defines */
10#define PTEH_ASID_SHIFT	2
11#define PTEH_VALID	0x0000000000000001
12#define PTEH_SHARED	0x0000000000000002
13#define PTEH_MATCH_ASID	0x00000000000003ff
14
15#ifndef __ASSEMBLY__
16/* This has to be a common function because the next location to fill
17 * information is shared. */
18extern void __do_tlb_refill(unsigned long address, unsigned long long is_text_not_data, pte_t *pte);
19#endif /* __ASSEMBLY__ */
20
21#endif /* __ASM_SH_CPU_SH5_MMU_CONTEXT_H */