From 2220ced8170aff304378109d961c32d6fc55779b Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Sun, 9 Aug 2009 10:40:19 +0000 Subject: Rototill system V message queues. No longer allocate a static amount of memory for messages in MD boot path; message queues, message metadata, and message data now all use dynamic memory, which means that runtime sysctls should now be trivial to implement. Since I'm going to be around all week to fix any breakage, this should probably just go in now. --- sys/arch/amd64/amd64/machdep.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys/arch/amd64') diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index c1745a0f857..4c244b1e2a1 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.98 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.99 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -87,10 +87,6 @@ #include #include -#ifdef SYSVMSG -#include -#endif - #ifdef KGDB #include #endif @@ -380,13 +376,6 @@ allocsys(vaddr_t v) #define valloc(name, type, num) \ v = (vaddr_t)(((name) = (type *)v) + (num)) -#ifdef SYSVMSG - valloc(msgpool, char, msginfo.msgmax); - valloc(msgmaps, struct msgmap, msginfo.msgseg); - valloc(msghdrs, struct msg, msginfo.msgtql); - valloc(msqids, struct msqid_ds, msginfo.msgmni); -#endif - return v; } -- cgit v1.2.3