e820_32.h 765 B

12345678910111213141516171819202122232425262728
  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 init_iomem_resources(struct resource *code_resource,
  19. struct resource *data_resource,
  20. struct resource *bss_resource);
  21. #endif/*!__ASSEMBLY__*/
  22. #endif/*__E820_HEADER*/