• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2004-2009 Analog Devices Inc.
3  *                2002 David McCullough <davidm@snapgear.com>
4  *
5  * Licensed under the GPL-2.
6  */
7 
8 #ifndef __MMU_H
9 #define __MMU_H
10 
11 struct sram_list_struct {
12 	struct sram_list_struct *next;
13 	void *addr;
14 	size_t length;
15 };
16 
17 typedef struct {
18 	unsigned long end_brk;
19 	unsigned long stack_start;
20 
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;
24 
25 	struct sram_list_struct *sram_list;
26 
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;
35 
36 #endif
37