/*1* linux/arch/m32r/mm/ioremap-nommu.c2*3* Copyright (c) 2001, 2002 Hiroyuki Kondo4*5* Taken from mips version.6* (C) Copyright 1995 1996 Linus Torvalds7* (C) Copyright 2001 Ralf Baechle8*/910/*11* This file is subject to the terms and conditions of the GNU General Public12* License. See the file "COPYING" in the main directory of this archive13* for more details.14*15*/1617#include <linux/module.h>18#include <asm/addrspace.h>19#include <asm/byteorder.h>2021#include <linux/vmalloc.h>22#include <asm/io.h>23#include <asm/pgalloc.h>24#include <asm/cacheflush.h>25#include <asm/tlbflush.h>262728/*29* Remap an arbitrary physical address space into the kernel virtual30* address space. Needed when the kernel wants to access high addresses31* directly.32*33* NOTE! We need to allow non-page-aligned mappings too: we will obviously34* have to convert them into an offset in a page-aligned mapping, but the35* caller shouldn't need to know that small detail.36*/3738#define IS_LOW512(addr) (!((unsigned long)(addr) & ~0x1fffffffUL))3940void __iomem *41__ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)42{43return (void *)phys_addr;44}4546#define IS_KSEG1(addr) (((unsigned long)(addr) & ~0x1fffffffUL) == KSEG1)4748void iounmap(volatile void __iomem *addr)49{50}51525354