From owner-p4-projects@FreeBSD.ORG Fri Jul 28 18:36:09 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 140F916A55B; Fri, 28 Jul 2006 18:36:09 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8936C16A4E2 for ; Fri, 28 Jul 2006 18:36:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D28043D46 for ; Fri, 28 Jul 2006 18:36:08 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6SIa8Xc073182 for ; Fri, 28 Jul 2006 18:36:08 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6SIa7pN073179 for perforce@freebsd.org; Fri, 28 Jul 2006 18:36:07 GMT (envelope-from jhb@freebsd.org) Date: Fri, 28 Jul 2006 18:36:07 GMT Message-Id: <200607281836.k6SIa7pN073179@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 102673 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 18:36:09 -0000 http://perforce.freebsd.org/chv.cgi?CH=102673 Change 102673 by jhb@jhb_mutex on 2006/07/28 18:35:47 Remove support for the 'M' prefix. Affected files ... .. //depot/projects/smpng/sys/kern/makesyscalls.sh#17 edit Differences ... ==== //depot/projects/smpng/sys/kern/makesyscalls.sh#17 (text+ko) ==== @@ -288,38 +288,6 @@ auditev = $2; } - # The 'M' type prefix - # - { - mpsafe = "SYF_MPSAFE | "; - if ($3 == "MSTD") { - $3 = "STD"; - } else if ($3 == "MNODEF") { - $3 = "NODEF"; - } else if ($3 == "MNOARGS") { - $3 = "NOARGS"; - } else if ($3 == "MNOPROTO") { - $3 = "NOPROTO"; - } else if ($3 == "MNOIMPL") { - $3 = "NOIMPL"; - } else if ($3 == "MNOSTD") { - $3 = "NOSTD"; - } else if ($3 == "MCOMPAT") { - $3 = "COMPAT"; - } else if ($3 == "MCOMPAT4") { - $3 = "COMPAT4"; - } else if ($3 == "MCPT_NOA") { - $3 = "CPT_NOA"; - } else if ($3 == "MLIBCOMPAT") { - $3 = "LIBCOMPAT"; - } else if ($3 == "MOBSOL") { - $3 = "OBSOL"; - } else if ($3 == "MUNIMPL") { - $3 = "UNIMPL"; - } else { - mpsafe = ""; - } - } $3 == "STD" || $3 == "NODEF" || $3 == "NOARGS" || $3 == "NOPROTO" \ || $3 == "NOIMPL" || $3 == "NOSTD" { parseline() @@ -352,8 +320,8 @@ nosys = 1 if (funcname == "lkmnosys") lkmnosys = 1 - printf("\t{ %s%s, (sy_call_t *)", mpsafe, argssize) > sysent - column = 8 + 2 + length(mpsafe) + length(argssize) + 15 + printf("\t{ %s, (sy_call_t *)", argssize) > sysent + column = 8 + 2 + length(argssize) + 15 if ($3 == "NOIMPL") { printf("%s },", "nosys, AUE_NULL") > sysent column = column + length("nosys") + 3 @@ -406,9 +374,9 @@ argalias) > sysarg printf("%s\t%s%s(struct thread *, struct %s *);\n", rettype, prefix, funcname, argalias) > outdcl - printf("\t{ %s(%s%s,%s), %s },", - wrap, mpsafe, argssize, funcname, auditev) > sysent - align_sysent_comment(8 + 9 + length(mpsafe) + \ + printf("\t{ %s(%s,%s), %s },", + wrap, argssize, funcname, auditev) > sysent + align_sysent_comment(8 + 9 + \ length(argssize) + 1 + length(funcname) + length(auditev) + 4) printf("/* %d = old %s */\n", syscall, funcalias) > sysent printf("\t\"old.%s\",\t\t/* %d = old %s */\n", @@ -422,9 +390,9 @@ ncompat++ parseline() printf("%s\to%s();\n", rettype, funcname) > syscompatdcl - printf("\t{ compat(%s%s,%s), %s },", - mpsafe, argssize, funcname, auditev) > sysent - align_sysent_comment(8 + 9 + length(mpsafe) + \ + printf("\t{ compat(%s,%s), %s },", + argssize, funcname, auditev) > sysent + align_sysent_comment(8 + 9 + \ length(argssize) + 1 + length(funcname) + length(auditev) + 4) printf("/* %d = old %s */\n", syscall, funcalias) > sysent printf("\t\"old.%s\",\t\t/* %d = old %s */\n",