diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-frv/mmu.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-frv/mmu.h')
-rw-r--r-- | include/asm-frv/mmu.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/asm-frv/mmu.h b/include/asm-frv/mmu.h new file mode 100644 index 000000000000..22c03714fb14 --- /dev/null +++ b/include/asm-frv/mmu.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* mmu.h: memory management context for FR-V with or without MMU support | ||
2 | * | ||
3 | * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. | ||
4 | * Written by David Howells (dhowells@redhat.com) | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | #ifndef _ASM_MMU_H | ||
12 | #define _ASM_MMU_H | ||
13 | |||
14 | typedef struct { | ||
15 | #ifdef CONFIG_MMU | ||
16 | struct list_head id_link; /* link in list of context ID owners */ | ||
17 | unsigned short id; /* MMU context ID */ | ||
18 | unsigned short id_busy; /* true if ID is in CXNR */ | ||
19 | unsigned long itlb_cached_pge; /* [SCR0] PGE cached for insn TLB handler */ | ||
20 | unsigned long itlb_ptd_mapping; /* [DAMR4] PTD mapping for itlb cached PGE */ | ||
21 | unsigned long dtlb_cached_pge; /* [SCR1] PGE cached for data TLB handler */ | ||
22 | unsigned long dtlb_ptd_mapping; /* [DAMR5] PTD mapping for dtlb cached PGE */ | ||
23 | |||
24 | #else | ||
25 | struct vm_list_struct *vmlist; | ||
26 | unsigned long end_brk; | ||
27 | |||
28 | #endif | ||
29 | |||
30 | #ifdef CONFIG_BINFMT_ELF_FDPIC | ||
31 | unsigned long exec_fdpic_loadmap; | ||
32 | unsigned long interp_fdpic_loadmap; | ||
33 | #endif | ||
34 | |||
35 | } mm_context_t; | ||
36 | |||
37 | #ifdef CONFIG_MMU | ||
38 | extern int __nongpreldata cxn_pinned; | ||
39 | extern int cxn_pin_by_pid(pid_t pid); | ||
40 | #endif | ||
41 | |||
42 | #endif /* _ASM_MMU_H */ | ||