memory.h 533 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * arch/arm/mach-ixp4xx/include/mach/memory.h
  3. *
  4. * Copyright (c) 2001-2004 MontaVista Software, Inc.
  5. */
  6. #ifndef __ASM_ARCH_MEMORY_H
  7. #define __ASM_ARCH_MEMORY_H
  8. #include <asm/sizes.h>
  9. /*
  10. * Physical DRAM offset.
  11. */
  12. #define PHYS_OFFSET UL(0x00000000)
  13. #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
  14. void ixp4xx_adjust_zones(int node, unsigned long *size, unsigned long *holes);
  15. #define arch_adjust_zones(node, size, holes) \
  16. ixp4xx_adjust_zones(node, size, holes)
  17. #define ISA_DMA_THRESHOLD (SZ_64M - 1)
  18. #endif
  19. #endif