memory.h 745 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * arch/arm/mach-aaec2000/include/mach/memory.h
  3. *
  4. * Copyright (c) 2005 Nicolas Bellido Y Ortega
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_ARCH_MEMORY_H
  11. #define __ASM_ARCH_MEMORY_H
  12. #define PHYS_OFFSET UL(0xf0000000)
  13. #define __virt_to_bus(x) __virt_to_phys(x)
  14. #define __bus_to_virt(x) __phys_to_virt(x)
  15. /*
  16. * The nodes are the followings:
  17. *
  18. * node 0: 0xf000.0000 - 0xf3ff.ffff
  19. * node 1: 0xf400.0000 - 0xf7ff.ffff
  20. * node 2: 0xf800.0000 - 0xfbff.ffff
  21. * node 3: 0xfc00.0000 - 0xffff.ffff
  22. */
  23. #define NODE_MEM_SIZE_BITS 26
  24. #endif /* __ASM_ARCH_MEMORY_H */