/*1* linux/arch/h8300/mm/kmap.c2*3* Based on4* linux/arch/m68knommu/mm/kmap.c5*6* Copyright (C) 2000 Lineo, <[email protected]>7* Copyright (C) 2000-2002 David McCullough <[email protected]>8*/910#include <linux/mm.h>11#include <linux/kernel.h>12#include <linux/string.h>13#include <linux/types.h>14#include <linux/vmalloc.h>1516#include <asm/setup.h>17#include <asm/segment.h>18#include <asm/page.h>19#include <asm/pgalloc.h>20#include <asm/io.h>21#include <asm/system.h>2223#undef DEBUG2425#define VIRT_OFFSET (0x01000000)2627/*28* Map some physical address range into the kernel address space.29*/30void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)31{32return (void *)(physaddr + VIRT_OFFSET);33}3435/*36* Unmap a ioremap()ed region again.37*/38void iounmap(void *addr)39{40}4142/*43* __iounmap unmaps nearly everything, so be careful44* it doesn't free currently pointer/page tables anymore but it45* wans't used anyway and might be added later.46*/47void __iounmap(void *addr, unsigned long size)48{49}5051/*52* Set new cache mode for some kernel address space.53* The caller must push data for that range itself, if such data may already54* be in the cache.55*/56void kernel_set_cachemode(void *addr, unsigned long size, int cmode)57{58}596061