CVS commit: src
Module Name:src Committed By: riastradh Date: Wed May 29 02:06:46 UTC 2024 Modified Files: src/share/man/man5: mk.conf.5 src/share/mk: bsd.own.mk src/sys/sys: cdefs_aout.h cdefs_elf.h Log Message: New make(1) variable NETBSD_REVISIONID in the NetBSD build. This is intended to be a tree-wide revision identifier, like a commit hash or similar. This way, in builds from non-CVS trees where per-file $NetBSD$ revision ids aren't incremented, we can still track some version provenance of files with ident(1). If defined, bsd.own.mk adds a macro _NETBSD_REVISIONID to CPPFLAGS with the stringified text of NETBSD_REVISIONID. In turn, if _NETBSD_REVISIONID is defined in sys/cdefs.h, then __RCSID will put the concatenation of: - `$NetBSD: ' - the file name - ` ' - _NETBSD_REVISIONID - ` $' alongside the per-file revision id passed as an argument to __RCSID. Since this is passed through command-line arguments, it doesn't cause make to consider any dependencies to change when the revision id changes -- so incremental builds remain incremental. And if you don't set it, nothing changes from the __RCSID we had before. Currently nothing sets NETBSD_REVISIONID automatically yet -- subject to experimentation. Could just be verbatim commit hash, or could be longer `hg identify' output -- or, in git, with the help of tags, could be `git describe --dirty' output like 10.99.10-2924-gd01834fb75de (or `10.99.10-2924-gd01834fb75de-dirty' if the working tree is dirty) for the commit at https://mail-index.netbsd.org/source-changes/2024/05/24/msg151526.html which is 2924 linear commits after the commit bumping sys/param.h to 10.99.10 and (in the current git conversion) had commit hash starting with d01834fb75de. This may require some discipline around branching and tagging but it's worth a shot -- we'll see. Based on a patch from joerg@ a while ago. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/share/man/man5/mk.conf.5 cvs rdiff -u -r1.1373 -r1.1374 src/share/mk/bsd.own.mk cvs rdiff -u -r1.20 -r1.21 src/sys/sys/cdefs_aout.h cvs rdiff -u -r1.58 -r1.59 src/sys/sys/cdefs_elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/mk.conf.5 diff -u src/share/man/man5/mk.conf.5:1.108 src/share/man/man5/mk.conf.5:1.109 --- src/share/man/man5/mk.conf.5:1.108 Sun Jul 23 16:52:37 2023 +++ src/share/man/man5/mk.conf.5 Wed May 29 02:06:45 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: mk.conf.5,v 1.108 2023/07/23 16:52:37 lukem Exp $ +.\" $NetBSD: mk.conf.5,v 1.109 2024/05/29 02:06:45 riastradh Exp $ .\" .\" Copyright (c) 1999-2023 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -1859,6 +1859,16 @@ builds from real releases. .DFLTu .Pq I.e., Dq no . . +.It Sy NETBSD_REVISIONID +Tree-wide revision identifier, such as a Mercurial or Git commit hash +or similar. +If set, will be included in program notes where +.Xr __RCSID 3 +and +.Xr __KERNEL_RCSID 3 +are used, and will be reported by +.Xr ident 1 . +.DFLTu .It Sy NOCLEANDIR If set, avoids the .Dq make cleandir Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1373 src/share/mk/bsd.own.mk:1.1374 --- src/share/mk/bsd.own.mk:1.1373 Sun Apr 28 08:01:04 2024 +++ src/share/mk/bsd.own.mk Wed May 29 02:06:45 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1373 2024/04/28 08:01:04 nia Exp $ +# $NetBSD: bsd.own.mk,v 1.1374 2024/05/29 02:06:45 riastradh Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -236,6 +236,14 @@ PRINTOBJDIR= echo /error/bsd.own.mk/PRIN .endif # +# Make sure we set _NETBSD_REVISIONID in CPPFLAGS if requested. +# +.ifdef NETBSD_REVISIONID +_NETBSD_REVISIONID_STR= "${NETBSD_REVISIONID}" +CPPFLAGS+= -D_NETBSD_REVISIONID=${_NETBSD_REVISIONID_STR:Q} +.endif + +# # Determine if running in the NetBSD source tree by checking for the # existence of build.sh and tools/ in the current or a parent directory, # and setting _SRC_TOP_ to the result. Index: src/sys/sys/cdefs_aout.h diff -u src/sys/sys/cdefs_aout.h:1.20 src/sys/sys/cdefs_aout.h:1.21 --- src/sys/sys/cdefs_aout.h:1.20 Thu May 18 17:55:38 2006 +++ src/sys/sys/cdefs_aout.h Wed May 29 02:06:46 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: cdefs_aout.h,v 1.20 2006/05/18 17:55:38 christos Exp $ */ +/* $NetBSD: cdefs_aout.h,v 1.21 2024/05/29 02:06:46 riastradh Exp $ */ /* * Written by J.T. Conklin 01/17/95. @@ -77,7 +77,14 @@ #undef __KERNEL_RCSID +#ifdef _NETBSD_REVISIONID +#define __RCSID(_s) \ + __IDSTRING(rcsid,_s); \ + __IDSTRING(revisionid, \ + "$" "NetBSD: " __FILE__ " " _NETBSD_REVISIONID " $") +#else #define __RCSID(_s) __IDSTRING(rcsid,_s) +#endif #define __SCCSID(_s) #define __SCCSID2(_s) #if 0 /* XXX userland __COPYRIGHTs have \ns in them */ Index: src/sys/sys/cdefs_elf.h diff -u src/sys/sys/cdefs_elf.h:1.58 src/sys/sys/cdefs_elf.h:1.59 ---
CVS commit: src
Module Name:src Committed By: riastradh Date: Wed May 29 02:06:46 UTC 2024 Modified Files: src/share/man/man5: mk.conf.5 src/share/mk: bsd.own.mk src/sys/sys: cdefs_aout.h cdefs_elf.h Log Message: New make(1) variable NETBSD_REVISIONID in the NetBSD build. This is intended to be a tree-wide revision identifier, like a commit hash or similar. This way, in builds from non-CVS trees where per-file $NetBSD$ revision ids aren't incremented, we can still track some version provenance of files with ident(1). If defined, bsd.own.mk adds a macro _NETBSD_REVISIONID to CPPFLAGS with the stringified text of NETBSD_REVISIONID. In turn, if _NETBSD_REVISIONID is defined in sys/cdefs.h, then __RCSID will put the concatenation of: - `$NetBSD: ' - the file name - ` ' - _NETBSD_REVISIONID - ` $' alongside the per-file revision id passed as an argument to __RCSID. Since this is passed through command-line arguments, it doesn't cause make to consider any dependencies to change when the revision id changes -- so incremental builds remain incremental. And if you don't set it, nothing changes from the __RCSID we had before. Currently nothing sets NETBSD_REVISIONID automatically yet -- subject to experimentation. Could just be verbatim commit hash, or could be longer `hg identify' output -- or, in git, with the help of tags, could be `git describe --dirty' output like 10.99.10-2924-gd01834fb75de (or `10.99.10-2924-gd01834fb75de-dirty' if the working tree is dirty) for the commit at https://mail-index.netbsd.org/source-changes/2024/05/24/msg151526.html which is 2924 linear commits after the commit bumping sys/param.h to 10.99.10 and (in the current git conversion) had commit hash starting with d01834fb75de. This may require some discipline around branching and tagging but it's worth a shot -- we'll see. Based on a patch from joerg@ a while ago. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/share/man/man5/mk.conf.5 cvs rdiff -u -r1.1373 -r1.1374 src/share/mk/bsd.own.mk cvs rdiff -u -r1.20 -r1.21 src/sys/sys/cdefs_aout.h cvs rdiff -u -r1.58 -r1.59 src/sys/sys/cdefs_elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: riastradh Date: Tue May 28 22:15:22 UTC 2024 Modified Files: src/sys/net: nd.c Log Message: nd_resolve: Maintain la_numheld. Otherwise lltable_drop_entry_queue never drops anything. Addresses mbuf leak, PR kern/58297. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/net/nd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/nd.c diff -u src/sys/net/nd.c:1.5 src/sys/net/nd.c:1.6 --- src/sys/net/nd.c:1.5 Sat Nov 19 08:00:51 2022 +++ src/sys/net/nd.c Tue May 28 22:15:22 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: nd.c,v 1.5 2022/11/19 08:00:51 yamt Exp $ */ +/* $NetBSD: nd.c,v 1.6 2024/05/28 22:15:22 riastradh Exp $ */ /* * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nd.c,v 1.5 2022/11/19 08:00:51 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nd.c,v 1.6 2024/05/28 22:15:22 riastradh Exp $"); #include #include @@ -374,14 +374,25 @@ nd_resolve(struct llentry *ln, const str break; } } + KASSERTMSG(ln->la_numheld == i, "la_numheld=%d i=%d", + ln->la_numheld, i); while (i >= nd->nd_maxqueuelen) { m_hold = ln->ln_hold; ln->ln_hold = ln->ln_hold->m_nextpkt; m_freem(m_hold); i--; + ln->la_numheld--; } - } else + } else { + KASSERTMSG(ln->la_numheld == 0, "la_numheld=%d", + ln->la_numheld); ln->ln_hold = m; + } + + KASSERTMSG(ln->la_numheld < nd->nd_maxqueuelen, + "la_numheld=%d nd_maxqueuelen=%d", + ln->la_numheld, nd->nd_maxqueuelen); + ln->la_numheld++; if (ln->ln_asked >= nd->nd_mmaxtries) error = (rt != NULL && rt->rt_flags & RTF_GATEWAY) ?
CVS commit: src/sys/net
Module Name:src Committed By: riastradh Date: Tue May 28 22:15:22 UTC 2024 Modified Files: src/sys/net: nd.c Log Message: nd_resolve: Maintain la_numheld. Otherwise lltable_drop_entry_queue never drops anything. Addresses mbuf leak, PR kern/58297. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/net/nd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: sjg Date: Tue May 28 19:09:04 UTC 2024 Modified Files: src/usr.bin/make: main.c make.1 Log Message: make: allow debugging the warning about .OBJDIR When make complains about an unwritable .OBJDIR it is not always obvious how we derrived that value. If MAKE_DEBUG_OBJDIR_CHECK_WRITABLE is enabled call PrintOnError so we can examine variables that are likely relevant. Fix description of MAKE_OBJDIR_CHECK_WRITABLE in make.1 To generate a diff of this commit: cvs rdiff -u -r1.617 -r1.618 src/usr.bin/make/main.c cvs rdiff -u -r1.375 -r1.376 src/usr.bin/make/make.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/main.c diff -u src/usr.bin/make/main.c:1.617 src/usr.bin/make/main.c:1.618 --- src/usr.bin/make/main.c:1.617 Fri May 24 23:02:46 2024 +++ src/usr.bin/make/main.c Tue May 28 19:09:04 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.617 2024/05/24 23:02:46 rillig Exp $ */ +/* $NetBSD: main.c,v 1.618 2024/05/28 19:09:04 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -111,7 +111,7 @@ #include "trace.h" /* "@(#)main.c 8.3 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: main.c,v 1.617 2024/05/24 23:02:46 rillig Exp $"); +MAKE_RCSID("$NetBSD: main.c,v 1.618 2024/05/28 19:09:04 sjg Exp $"); #if defined(MAKE_NATIVE) __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 " "The Regents of the University of California. " @@ -739,6 +739,10 @@ Main_SetObjdir(bool writable, const char if ((writable && access(path, W_OK) != 0) || chdir(path) != 0) { (void)fprintf(stderr, "%s: warning: %s: %s.\n", progname, path, strerror(errno)); + /* Allow debugging how we got here - not always obvious */ + if (GetBooleanExpr("${MAKE_DEBUG_OBJDIR_CHECK_WRITABLE}", + false)) + PrintOnError(NULL, ""); return false; } Index: src/usr.bin/make/make.1 diff -u src/usr.bin/make/make.1:1.375 src/usr.bin/make/make.1:1.376 --- src/usr.bin/make/make.1:1.375 Sun Mar 10 02:53:37 2024 +++ src/usr.bin/make/make.1 Tue May 28 19:09:04 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: make.1,v 1.375 2024/03/10 02:53:37 sjg Exp $ +.\" $NetBSD: make.1,v 1.376 2024/05/28 19:09:04 sjg Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 .\" -.Dd March 9, 2024 +.Dd May 28, 2024 .Dt MAKE 1 .Os .Sh NAME @@ -1143,9 +1143,19 @@ This mode can be used to detect undeclar Used to create files in a separate directory, see .Va .OBJDIR . .It Va MAKE_OBJDIR_CHECK_WRITABLE -Used to force a separate directory for the created files, -even if that directory is not writable, see -.Va .OBJDIR . +When true, +.Nm +will check that +.Va .OBJDIR +is writable, and issue a warning if not. +.It Va MAKE_DEBUG_OBJDIR_CHECK_WRITABLE +When true and +.Nm +is warning about an unwritable +.Va .OBJDIR , +report the variables listed in +.Va MAKE_PRINT_VAR_ON_ERROR +to help debug. .It Va MAKEOBJDIRPREFIX Used to create files in a separate directory, see .Va .OBJDIR .
CVS commit: src/usr.bin/make
Module Name:src Committed By: sjg Date: Tue May 28 19:09:04 UTC 2024 Modified Files: src/usr.bin/make: main.c make.1 Log Message: make: allow debugging the warning about .OBJDIR When make complains about an unwritable .OBJDIR it is not always obvious how we derrived that value. If MAKE_DEBUG_OBJDIR_CHECK_WRITABLE is enabled call PrintOnError so we can examine variables that are likely relevant. Fix description of MAKE_OBJDIR_CHECK_WRITABLE in make.1 To generate a diff of this commit: cvs rdiff -u -r1.617 -r1.618 src/usr.bin/make/main.c cvs rdiff -u -r1.375 -r1.376 src/usr.bin/make/make.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib
Module Name:src Committed By: christos Date: Tue May 28 16:20:34 UTC 2024 Modified Files: src/lib: checkoldver Log Message: handle library names that contain a period. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/checkoldver Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib
Module Name:src Committed By: christos Date: Tue May 28 16:20:34 UTC 2024 Modified Files: src/lib: checkoldver Log Message: handle library names that contain a period. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/checkoldver Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/checkoldver diff -u src/lib/checkoldver:1.3 src/lib/checkoldver:1.4 --- src/lib/checkoldver:1.3 Wed Apr 30 09:10:50 2008 +++ src/lib/checkoldver Tue May 28 12:20:34 2024 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: checkoldver,v 1.3 2008/04/30 13:10:50 martin Exp $ +# $NetBSD: checkoldver,v 1.4 2024/05/28 16:20:34 christos Exp $ # # Copyright (c) 2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -51,33 +51,31 @@ delete() { } comparelib() { + local name="${1%.so.*}" + local version=${1#*.so.} OIFS="$IFS" IFS="$IFS." - set -- $1 + set -- $version IFS="$OIFS" - if [ "$3" = "[0-9]*" ] - then - return - fi if [ -z "$libmajor" ] then - libname="$1" - libmajor="$3" - libminor="$4" - libtiny="$5" + libname="$name" + libmajor="$1" + libminor="$2" + libtiny="$3" return fi - if [ "$libmajor" -lt "$3" ] + if [ "$libmajor" -lt "$1" ] then delete "$libname" "$libmajor" "$libminor" "$libtiny" - libmajor="$3" - libminor="$4" - libtiny="$5" + libmajor="$1" + libminor="$2" + libtiny="$3" return - elif [ "$3" -lt "$libmajor" ] + elif [ "$1" -lt "$libmajor" ] then - delete "$libname" "$3" "$4" "$5" + delete "$libname" "$1" "$2" "$3" return fi @@ -85,16 +83,16 @@ comparelib() { then return fi - if [ "$libminor" -lt "$4" ] + if [ "$libminor" -lt "$2" ] then delete "$libname" "$libmajor" "$libminor" "$libtiny" - libmajor="$3" - libminor="$4" - libtiny="$5" + libmajor="$1" + libminor="$2" + libtiny="$3" return - elif [ "$4" -lt "$libminor" ] + elif [ "$2" -lt "$libminor" ] then - delete "$libname" "$3" "$4" "$5" + delete "$libname" "$1" "$2" "$3" return fi @@ -102,16 +100,16 @@ comparelib() { then return fi - if [ "$libtiny" -lt "$5" ] + if [ "$libtiny" -lt "$3" ] then delete "$libname" "$libmajor" "$libminor" "$libtiny" - libmajor="$3" - libminor="$4" - libtiny="$5" + libmajor="$1" + libminor="$2" + libtiny="$3" return elif [ "$5" -lt "$libminor" ] then - delete "$libname" "$3" "$4" "$5" + delete "$libname" "$1" "$2" "$3" return fi }
CVS commit: src/sys/arch/powerpc/oea
Module Name:src Committed By: macallan Date: Tue May 28 11:06:07 UTC 2024 Modified Files: src/sys/arch/powerpc/oea: ofwoea_machdep.c Log Message: - initialize bootpath - if we don't get anything useful from args, check /chosen now my G5 finds its boot device even when netbooting a kernel directly To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/powerpc/oea/ofwoea_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/powerpc/oea/ofwoea_machdep.c diff -u src/sys/arch/powerpc/oea/ofwoea_machdep.c:1.63 src/sys/arch/powerpc/oea/ofwoea_machdep.c:1.64 --- src/sys/arch/powerpc/oea/ofwoea_machdep.c:1.63 Sat Sep 23 21:26:16 2023 +++ src/sys/arch/powerpc/oea/ofwoea_machdep.c Tue May 28 11:06:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: ofwoea_machdep.c,v 1.63 2023/09/23 21:26:16 andvar Exp $ */ +/* $NetBSD: ofwoea_machdep.c,v 1.64 2024/05/28 11:06:07 macallan Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.63 2023/09/23 21:26:16 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.64 2024/05/28 11:06:07 macallan Exp $"); #include "ksyms.h" #include "wsdisplay.h" @@ -113,7 +113,7 @@ struct OF_translation ofw_translations[O struct pmap ofw_pmap; struct bat ofw_battable[BAT_VA2IDX(0x)+1]; -char bootpath[256]; +char bootpath[256] = ""; char model_name[64]; #if NKSYMS || defined(DDB) || defined(MODULAR) void *startsym, *endsym; @@ -165,7 +165,10 @@ ofwoea_initppc(u_int startkernel, u_int while (*args) BOOT_FLAG(*args++, boothowto); } - } else { + } + + /* if bootpath is still empty, get it from /chosen */ + if (bootpath[0] == 0) { int chs = OF_finddevice("/chosen"); int len;
CVS commit: src/sys/arch/powerpc/oea
Module Name:src Committed By: macallan Date: Tue May 28 11:06:07 UTC 2024 Modified Files: src/sys/arch/powerpc/oea: ofwoea_machdep.c Log Message: - initialize bootpath - if we don't get anything useful from args, check /chosen now my G5 finds its boot device even when netbooting a kernel directly To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/powerpc/oea/ofwoea_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/arch/riscv/sys
Module Name:src Committed By: skrll Date: Tue May 28 06:57:17 UTC 2024 Modified Files: src/lib/libc/arch/riscv/sys: __sigtramp2.S Log Message: Change MIPS to RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/riscv/sys/__sigtramp2.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/arch/riscv/sys/__sigtramp2.S diff -u src/lib/libc/arch/riscv/sys/__sigtramp2.S:1.3 src/lib/libc/arch/riscv/sys/__sigtramp2.S:1.4 --- src/lib/libc/arch/riscv/sys/__sigtramp2.S:1.3 Sun May 7 12:41:47 2023 +++ src/lib/libc/arch/riscv/sys/__sigtramp2.S Tue May 28 06:57:17 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: __sigtramp2.S,v 1.3 2023/05/07 12:41:47 skrll Exp $ */ +/* $NetBSD: __sigtramp2.S,v 1.4 2024/05/28 06:57:17 skrll Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -33,12 +33,12 @@ #include "assym.h" #if defined(SYSLIBC_SCCS) && !defined(lint) - RCSID("$NetBSD: __sigtramp2.S,v 1.3 2023/05/07 12:41:47 skrll Exp $") + RCSID("$NetBSD: __sigtramp2.S,v 1.4 2024/05/28 06:57:17 skrll Exp $") #endif /* SYSLIBC_SCCS and not lint */ /* - * The MIPS signal trampoline is invoked only to return from + * The RISC-V signal trampoline is invoked only to return from * the signal; the kernel calls the signal handler directly. * * On entry, stack looks like:
CVS commit: src/lib/libc/arch/riscv/sys
Module Name:src Committed By: skrll Date: Tue May 28 06:57:17 UTC 2024 Modified Files: src/lib/libc/arch/riscv/sys: __sigtramp2.S Log Message: Change MIPS to RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/riscv/sys/__sigtramp2.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/riscv/include
Module Name:src Committed By: skrll Date: Tue May 28 06:57:03 UTC 2024 Modified Files: src/sys/arch/riscv/include: netbsd32_machdep.h Log Message: Change MIPS to RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/netbsd32_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/riscv/include/netbsd32_machdep.h diff -u src/sys/arch/riscv/include/netbsd32_machdep.h:1.1 src/sys/arch/riscv/include/netbsd32_machdep.h:1.2 --- src/sys/arch/riscv/include/netbsd32_machdep.h:1.1 Fri Sep 19 17:36:26 2014 +++ src/sys/arch/riscv/include/netbsd32_machdep.h Tue May 28 06:57:03 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */ +/* $NetBSD: netbsd32_machdep.h,v 1.2 2024/05/28 06:57:03 skrll Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include /* - * On MIPS, pointers are signed. + * On RISC-V, pointers are signed. */ #define NETBSD32_POINTER_TYPE int32_t typedef struct { NETBSD32_POINTER_TYPE i32; } netbsd32_pointer_t;
CVS commit: src/sys/arch/riscv/include
Module Name:src Committed By: skrll Date: Tue May 28 06:57:03 UTC 2024 Modified Files: src/sys/arch/riscv/include: netbsd32_machdep.h Log Message: Change MIPS to RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/netbsd32_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.