more changes on original files
[linux-2.4.git] / arch / arm / mm / mm-rpc.c
1 /*
2  *  linux/arch/arm/mm/mm-rpc.c
3  *
4  *  Copyright (C) 1998-1999 Russell King
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  *  Extra MM routines for RiscPC architecture
11  */
12 #include <linux/types.h>
13 #include <linux/init.h>
14
15 #include <asm/hardware.h>
16 #include <asm/page.h>
17 #include <asm/proc/domain.h>
18 #include <asm/setup.h>
19
20 #include <asm/mach/map.h>
21
22 static struct map_desc rpc_io_desc[] __initdata = {
23  { SCREEN_BASE, SCREEN_START,   2*1048576, DOMAIN_IO, 0, 1, 0, 0 }, /* VRAM             */
24  { IO_BASE,     IO_START,       IO_SIZE  , DOMAIN_IO, 0, 1, 0, 0 }, /* IO space         */
25  { EASI_BASE,   EASI_START,     EASI_SIZE, DOMAIN_IO, 0, 1, 0, 0 }, /* EASI space       */
26  LAST_DESC
27 };
28
29 void __init rpc_map_io(void)
30 {
31         iotable_init(rpc_io_desc);
32 }