memory.h 866 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * linux/include/asm-arm/arch-ebsa110/memory.h
  3. *
  4. * Copyright (C) 1996-1999 Russell King.
  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. * Changelog:
  11. * 20-Oct-1996 RMK Created
  12. * 31-Dec-1997 RMK Fixed definitions to reduce warnings
  13. * 21-Mar-1999 RMK Renamed to memory.h
  14. * RMK Moved TASK_SIZE and PAGE_OFFSET here
  15. */
  16. #ifndef __ASM_ARCH_MEMORY_H
  17. #define __ASM_ARCH_MEMORY_H
  18. /*
  19. * Physical DRAM offset.
  20. */
  21. #define PHYS_OFFSET UL(0x00000000)
  22. /*
  23. * We keep this 1:1 so that we don't interfere
  24. * with the PCMCIA memory regions
  25. */
  26. #define __virt_to_bus(x) (x)
  27. #define __bus_to_virt(x) (x)
  28. /*
  29. * Cache flushing area - SRAM
  30. */
  31. #define FLUSH_BASE_PHYS 0x40000000
  32. #define FLUSH_BASE 0xdf000000
  33. #endif