/* kmap.c: ioremapping handlers1*2* Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4* - Derived from arch/m68k/mm/kmap.c5*6* This program is free software; you can redistribute it and/or7* modify it under the terms of the GNU General Public License8* as published by the Free Software Foundation; either version9* 2 of the License, or (at your option) any later version.10*/1112#include <linux/mm.h>13#include <linux/kernel.h>14#include <linux/string.h>15#include <linux/types.h>16#include <linux/vmalloc.h>1718#include <asm/setup.h>19#include <asm/segment.h>20#include <asm/page.h>21#include <asm/pgalloc.h>22#include <asm/io.h>23#include <asm/system.h>2425#undef DEBUG2627/*****************************************************************************/28/*29* Map some physical address range into the kernel address space.30*/3132void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)33{34return (void __iomem *)physaddr;35}3637/*38* Unmap a ioremap()ed region again39*/40void iounmap(void volatile __iomem *addr)41{42}4344/*45* Set new cache mode for some kernel address space.46* The caller must push data for that range itself, if such data may already47* be in the cache.48*/49void kernel_set_cachemode(void *addr, unsigned long size, int cmode)50{51}525354