mm-only debug patch...
[mmotm.git] / arch / blackfin / include / asm / mmu.h
blob26f6b70b11e2d21dd9b19c3f8177b07476914ed7
1 /*
2 * Copyright 2004-2009 Analog Devices Inc.
3 * 2002 David McCullough <davidm@snapgear.com>
5 * Licensed under the GPL-2.
6 */
8 #ifndef __MMU_H
9 #define __MMU_H
11 struct sram_list_struct {
12 struct sram_list_struct *next;
13 void *addr;
14 size_t length;
17 typedef struct {
18 unsigned long end_brk;
19 unsigned long stack_start;
21 /* Points to the location in SDRAM where the L1 stack is normally
22 saved, or NULL if the stack is always in SDRAM. */
23 void *l1_stack_save;
25 struct sram_list_struct *sram_list;
27 #ifdef CONFIG_BINFMT_ELF_FDPIC
28 unsigned long exec_fdpic_loadmap;
29 unsigned long interp_fdpic_loadmap;
30 #endif
31 #ifdef CONFIG_MPU
32 unsigned long *page_rwx_mask;
33 #endif
34 } mm_context_t;
36 #endif