| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #include <linux/mm.h> | 
|  | 21 | #include <linux/kernel.h> | 
|  | 22 | #include <linux/string.h> | 
|  | 23 | #include <linux/types.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 |  | 
|  | 25 | #include <asm/setup.h> | 
|  | 26 | #include <asm/segment.h> | 
|  | 27 | #include <asm/page.h> | 
|  | 28 | #include <asm/pgtable.h> | 
|  | 29 | #include <asm/system.h> | 
|  | 30 | #include <asm/traps.h> | 
|  | 31 | #include <asm/io.h> | 
|  | 32 |  | 
|  | 33 | void cache_clear (unsigned long paddr, int len) | 
|  | 34 | { | 
|  | 35 | } | 
|  | 36 |  | 
|  | 37 |  | 
|  | 38 | void cache_push (unsigned long paddr, int len) | 
|  | 39 | { | 
|  | 40 | } | 
|  | 41 |  | 
|  | 42 | void cache_push_v (unsigned long vaddr, int len) | 
|  | 43 | { | 
|  | 44 | } | 
|  | 45 |  | 
| Philippe De Muyter | f351d4b | 2009-10-22 16:07:17 +0200 | [diff] [blame] | 46 | /* | 
|  | 47 | * Map some physical address range into the kernel address space. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | */ | 
|  | 49 |  | 
|  | 50 | unsigned long kernel_map(unsigned long paddr, unsigned long size, | 
|  | 51 | int nocacheflag, unsigned long *memavailp ) | 
|  | 52 | { | 
|  | 53 | return paddr; | 
|  | 54 | } | 
|  | 55 |  |