mmu.h 611 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __MMU_H
  2. #define __MMU_H
  3. /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */
  4. struct sram_list_struct {
  5. struct sram_list_struct *next;
  6. void *addr;
  7. size_t length;
  8. };
  9. typedef struct {
  10. struct vm_list_struct *vmlist;
  11. unsigned long end_brk;
  12. unsigned long stack_start;
  13. /* Points to the location in SDRAM where the L1 stack is normally
  14. saved, or NULL if the stack is always in SDRAM. */
  15. void *l1_stack_save;
  16. struct sram_list_struct *sram_list;
  17. #ifdef CONFIG_BINFMT_ELF_FDPIC
  18. unsigned long exec_fdpic_loadmap;
  19. unsigned long interp_fdpic_loadmap;
  20. #endif
  21. } mm_context_t;
  22. #endif