memory.h 581 B

1234567891011121314151617181920212223242526272829
  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. #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)
  19. #endif
  20. #endif