Commit | Line | Data |
---|---|---|
1394f032 BW |
1 | #ifndef __MMU_H |
2 | #define __MMU_H | |
3 | ||
4 | /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */ | |
5 | ||
6 | struct sram_list_struct { | |
7 | struct sram_list_struct *next; | |
8 | void *addr; | |
9 | size_t length; | |
10 | }; | |
11 | ||
12 | typedef struct { | |
1394f032 BW |
13 | unsigned long end_brk; |
14 | unsigned long stack_start; | |
15 | ||
16 | /* Points to the location in SDRAM where the L1 stack is normally | |
17 | saved, or NULL if the stack is always in SDRAM. */ | |
18 | void *l1_stack_save; | |
19 | ||
20 | struct sram_list_struct *sram_list; | |
21 | ||
22 | #ifdef CONFIG_BINFMT_ELF_FDPIC | |
23 | unsigned long exec_fdpic_loadmap; | |
24 | unsigned long interp_fdpic_loadmap; | |
25 | #endif | |
b97b8a99 BS |
26 | #ifdef CONFIG_MPU |
27 | unsigned long *page_rwx_mask; | |
28 | #endif | |
1394f032 BW |
29 | } mm_context_t; |
30 | ||
31 | #endif |