Date: Sat, 11 Aug 2007 03:31:30 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 125031 for review Message-ID: <200708110331.l7B3VUwU004079@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708110331.l7B3VUwU004079>