1 /* 2 * Copyright (c) 1982, 1986 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * from: @(#)subr_rmap.c 7.9 (Berkeley) 5/11/91 8 */ 9 10 #include "param.h" 11 #include "systm.h" 12 #include "map.h" 13 #include "dmap.h" /* XXX */ 14 #include "proc.h" 15 #include "kernel.h" 16 17 /* 18 * Resource map handling routines. 19 */ 20 21 /* 22 * Initialize map mp to have (mapsize-2) segments 23 * and to be called ``name'', which we print if 24 * the slots become so fragmented that we lose space. 25 * The map itself is initialized with size elements free 26 * starting at addr. 27 */ 28 rminit(mp, size, addr, name, mapsize) 29 register struct map *mp; 30 long size, addr; 31 char *name; 32 int mapsize; 33 { 34 35 /* 36 * Body deleted. 37 */ 38 return; 39 } 40 41 long 42 rmalloc(mp, size) 43 register struct map *mp; 44 long size; 45 { 46 47 /* 48 * Body deleted. 49 */ 50 return (0); 51 } 52 53 rmfree(mp, size, addr) 54 struct map *mp; 55 long size, addr; 56 { 57 58 /* 59 * Body deleted. 60 */ 61 return; 62 } 63