1 /* $OpenBSD: pmap_table.h,v 1.5 2013/11/16 18:45:20 miod Exp $ */ 2 /* 3 * Mach Operating System 4 * Copyright (c) 1992 Carnegie Mellon University 5 * All Rights Reserved. 6 * 7 * Permission to use, copy, modify and distribute this software and its 8 * documentation is hereby granted, provided that both the copyright 9 * notice and this permission notice appear in all copies of the 10 * software, derivative works or modified versions, and any portions 11 * thereof, and that both notices appear in supporting documentation. 12 * 13 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 14 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 15 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 16 * 17 * Carnegie Mellon requests users of this software to return to 18 * 19 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 20 * School of Computer Science 21 * Carnegie Mellon University 22 * Pittsburgh PA 15213-3890 23 * 24 * any improvements or extensions that they make and grant Carnegie Mellon 25 * the rights to redistribute these changes. 26 */ 27 28 #ifndef _M88K_PMAP_TABLE_H_ 29 #define _M88K_PMAP_TABLE_H_ 30 31 /* 32 * Built-in mappings list. 33 * An entry is considered invalid if size = 0, and 34 * end of list is indicated by size 0xffffffff 35 */ 36 struct pmap_table { 37 paddr_t start; 38 psize_t size; 39 vm_prot_t prot; 40 unsigned int cacheability; 41 boolean_t may_use_batc; 42 }; 43 44 const struct pmap_table *pmap_table_build(void); 45 46 #endif /* _M88K_PMAP_TABLE_H_ */ 47