e820_32.h 961 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * structures and definitions for the int 15, ax=e820 memory map
  3. * scheme.
  4. *
  5. * In a nutshell, arch/i386/boot/setup.S populates a scratch table
  6. * in the empty_zero_block that contains a list of usable address/size
  7. * duples. In arch/i386/kernel/setup.c, this information is
  8. * transferred into the e820map, and in arch/i386/mm/init.c, that
  9. * new information is used to mark pages reserved or not.
  10. *
  11. */
  12. #ifndef __E820_HEADER
  13. #define __E820_HEADER
  14. #include <linux/ioport.h>
  15. #define HIGH_MEMORY (1024*1024)
  16. #ifndef __ASSEMBLY__
  17. extern void setup_memory_map(void);
  18. extern void finish_e820_parsing(void);
  19. extern void propagate_e820_map(void);
  20. extern void register_bootmem_low_pages(unsigned long max_low_pfn);
  21. extern void limit_regions(unsigned long long size);
  22. extern void init_iomem_resources(struct resource *code_resource,
  23. struct resource *data_resource,
  24. struct resource *bss_resource);
  25. #endif/*!__ASSEMBLY__*/
  26. #endif/*__E820_HEADER*/