From owner-p4-projects@FreeBSD.ORG Sat Aug 11 03:31:32 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C4D1C16A41B; Sat, 11 Aug 2007 03:31:31 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796A716A41A for ; Sat, 11 Aug 2007 03:31:31 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 68CA813C428 for ; Sat, 11 Aug 2007 03:31:31 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7B3VUKN004085 for ; Sat, 11 Aug 2007 03:31:30 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7B3VUwU004079 for perforce@freebsd.org; Sat, 11 Aug 2007 03:31:30 GMT (envelope-from peter@freebsd.org) Date: Sat, 11 Aug 2007 03:31:30 GMT Message-Id: <200708110331.l7B3VUwU004079@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Cc: Subject: PERFORCE change 125031 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: Sat, 11 Aug 2007 03:31:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=125031 Change 125031 by peter@peter_work on 2007/08/11 03:30:47 Update to work on 7.x. Regenerate. Adds ktimer_* calls and new 7.x parameters. Note: lkm entries manually changed to 8 args. Syscall 219 was not a lkm* syscall on the machine this was originally generated on. Affected files ... .. //depot/projects/valgrind/coregrind/m_syswrap/makeargsize6.sh#2 edit .. //depot/projects/valgrind/coregrind/m_syswrap/sysargcount.c#2 edit Differences ... ==== //depot/projects/valgrind/coregrind/m_syswrap/makeargsize6.sh#2 (text+ko) ==== @@ -141,6 +141,10 @@ argalias = funcname "_args" if ($3 == "COMPAT" || $3 == "MCOMPAT") argalias = "o" argalias + if ($3 == "COMPAT4" || $3 == "MCOMPAT4") + argalias = "freebsd4_" argalias + if ($3 == "COMPAT6" || $3 == "MCOMPAT6") + argalias = "freebsd6_" argalias } f++ @@ -190,7 +194,7 @@ next } $3 == "COMPAT" || $3 == "MCOMPAT" || $3 == "CPT_NOA" || $3 == "LIBCOMPAT" \ - || $3 == "COMPAT4" || $3 == "MCOMPAT4" || $3 == "MCPT_NOA" { + || $3 == "COMPAT4" || $3 == "MCOMPAT4" || $3 == "COMPAT6" || $3 == "MCOMPAT6" || $3 == "MCPT_NOA" { parseline() printf("\t%s,", argssize) > sysent align_sysent_comment(8 + length(argssize) + 1) @@ -220,6 +224,8 @@ printf "#define KLD_MODULE\n" > syssw printf "#define _KERNEL\n" > syssw printf "#define COMPAT_43\n" > syssw + printf "#define COMPAT_FREEBSD4\n" > syssw + printf "#define COMPAT_FREEBSD6\n" > syssw printf "\n" > syssw printf "\n#define AS(name) (sizeof(struct name) / sizeof(register_t))\n\n" > sysinc printf("};\n") > sysent ==== //depot/projects/valgrind/coregrind/m_syswrap/sysargcount.c#2 (text+ko) ==== @@ -218,7 +218,7 @@ 8, /* 216 */ 8, /* 217 */ 8, /* 218 */ - 3, /* 219 */ + 8, /* 219 */ 4, /* 220 */ 3, /* 221 */ 3, /* 222 */ @@ -234,11 +234,11 @@ 2, /* 232 */ 2, /* 233 */ 2, /* 234 */ - 0, /* 235 */ - 0, /* 236 */ - 0, /* 237 */ - 0, /* 238 */ - 0, /* 239 */ + 3, /* 235 */ + 1, /* 236 */ + 4, /* 237 */ + 2, /* 238 */ + 1, /* 239 */ 2, /* 240 */ 0, /* 241 */ 0, /* 242 */ @@ -254,9 +254,9 @@ 3, /* 252 */ 0, /* 253 */ 3, /* 254 */ - 0, /* 255 */ - 0, /* 256 */ - 0, /* 257 */ + 1, /* 255 */ + 1, /* 256 */ + 4, /* 257 */ 0, /* 258 */ 0, /* 259 */ 0, /* 260 */ @@ -455,5 +455,30 @@ 1, /* 453 */ 5, /* 454 */ 2, /* 455 */ + 3, /* 456 */ + 4, /* 457 */ + 3, /* 458 */ + 5, /* 459 */ + 5, /* 460 */ + 2, /* 461 */ + 1, /* 462 */ + 3, /* 463 */ + 2, /* 464 */ + 2, /* 465 */ + 3, /* 466 */ + 0, /* 467 */ + 0, /* 468 */ + 0, /* 469 */ + 0, /* 470 */ + 2, /* 471 */ + 7, /* 472 */ + 7, /* 473 */ + 7, /* 474 */ + 5, /* 475 */ + 5, /* 476 */ + 7, /* 477 */ + 4, /* 478 */ + 3, /* 479 */ + 3, /* 480 */ }; -int numsysargcount = 456; +int numsysargcount = 481;