memory.c 997 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * linux/arch/h8300/mm/memory.c
  3. *
  4. * Copyright (C) 2002 Yoshinori Sato <ysato@users.sourceforge.jp>,
  5. *
  6. * Based on:
  7. *
  8. * linux/arch/m68knommu/mm/memory.c
  9. *
  10. * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>,
  11. * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  12. *
  13. * Based on:
  14. *
  15. * linux/arch/m68k/mm/memory.c
  16. *
  17. * Copyright (C) 1995 Hamish Macdonald
  18. */
  19. #include <linux/mm.h>
  20. #include <linux/kernel.h>
  21. #include <linux/string.h>
  22. #include <linux/types.h>
  23. #include <asm/setup.h>
  24. #include <asm/segment.h>
  25. #include <asm/page.h>
  26. #include <asm/pgtable.h>
  27. #include <asm/traps.h>
  28. #include <asm/io.h>
  29. void cache_clear(unsigned long paddr, int len)
  30. {
  31. }
  32. void cache_push(unsigned long paddr, int len)
  33. {
  34. }
  35. void cache_push_v(unsigned long vaddr, int len)
  36. {
  37. }
  38. /*
  39. * Map some physical address range into the kernel address space.
  40. */
  41. unsigned long kernel_map(unsigned long paddr, unsigned long size,
  42. int nocacheflag, unsigned long *memavailp)
  43. {
  44. return paddr;
  45. }