Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Fix RUMP build.
details: https://anonhg.NetBSD.org/src/rev/82ca9813c639
branches: trunk
changeset: 779059:82ca9813c639
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Apr 29 14:00:15 2012 +0000
description:
Fix RUMP build.
diffstat:
sys/rump/librump/rumpkern/memalloc.c | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r b00432d0bfdf -r 82ca9813c639 sys/rump/librump/rumpkern/memalloc.c
--- a/sys/rump/librump/rumpkern/memalloc.c Sun Apr 29 13:59:06 2012 +0000
+++ b/sys/rump/librump/rumpkern/memalloc.c Sun Apr 29 14:00:15 2012 +0000
@@ -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 @@
* 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)
{
Home |
Main Index |
Thread Index |
Old Index