1 /* 2 * linux/include/asm-arm/map.h 3 * 4 * Copyright (C) 1999-2000 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 * Page table mapping constructs and function prototypes 11 */ 12 struct map_desc { 13 unsigned long virtual; 14 unsigned long physical; 15 unsigned long length; 16 int domain:4, 17 prot_read:1, 18 prot_write:1, 19 cacheable:1, 20 bufferable:1, 21 last:1; 22 }; 23 24 #define LAST_DESC \ 25 { last: 1 } 26 27 struct meminfo; 28 29 extern void create_memmap_holes(struct meminfo *); 30 extern void memtable_init(struct meminfo *); 31 extern void iotable_init(struct map_desc *); 32 extern void setup_io_desc(void); 33