Module Name:    src
Committed By:   rmind
Date:           Sun Apr 29 14:00:16 UTC 2012

Modified Files:
        src/sys/rump/librump/rumpkern: memalloc.c

Log Message:
Fix RUMP build.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/rump/librump/rumpkern/memalloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/memalloc.c
diff -u src/sys/rump/librump/rumpkern/memalloc.c:1.12 src/sys/rump/librump/rumpkern/memalloc.c:1.13
--- src/sys/rump/librump/rumpkern/memalloc.c:1.12	Sat Feb  4 22:11:43 2012
+++ src/sys/rump/librump/rumpkern/memalloc.c	Sun Apr 29 14:00:15 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: memalloc.c,v 1.12 2012/02/04 22:11:43 para Exp $	*/
+/*	$NetBSD: memalloc.c,v 1.13 2012/04/29 14:00:15 rmind Exp $	*/
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: memalloc.c,v 1.12 2012/02/04 22:11:43 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: memalloc.c,v 1.13 2012/04/29 14:00:15 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -54,6 +54,20 @@ __KERNEL_RCSID(0, "$NetBSD: memalloc.c,v
  * malloc
  */
 
+MALLOC_DEFINE(M_DEVBUF, "devbuf", "device driver memory");
+MALLOC_DEFINE(M_DMAMAP, "DMA map", "bus_dma(9) structures");
+MALLOC_DEFINE(M_FREE, "free", "should be on free list");
+MALLOC_DEFINE(M_PCB, "pcb", "protocol control block");
+MALLOC_DEFINE(M_TEMP, "temp", "misc. temporary data buffers");
+MALLOC_DEFINE(M_RTABLE, "routetbl", "routing tables");
+MALLOC_DEFINE(M_FTABLE, "fragtbl", "fragment reassembly header");
+MALLOC_DEFINE(M_UFSMNT, "UFS mount", "UFS mount structure");
+MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
+MALLOC_DEFINE(M_IPMOPTS, "ip_moptions", "internet multicast options");
+MALLOC_DEFINE(M_IPMADDR, "in_multi", "internet multicast address");
+MALLOC_DEFINE(M_MRTABLE, "mrt", "multicast routing tables");
+MALLOC_DEFINE(M_BWMETER, "bwmeter", "multicast upcall bw meters");
+
 void
 malloc_type_attach(struct malloc_type *type)
 {

Reply via email to