CVS commit: src/sys/arch/aarch64/aarch64
Module Name:src Committed By: mrg Date: Fri May 17 06:05:07 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: apply some __diagused. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/aarch64/aarch64/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/aarch64/aarch64
Module Name:src Committed By: mrg Date: Fri May 17 06:05:07 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: apply some __diagused. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/aarch64/aarch64/pmap.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/aarch64/aarch64/pmap.c diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.40 src/sys/arch/aarch64/aarch64/pmap.c:1.41 --- src/sys/arch/aarch64/aarch64/pmap.c:1.40 Mon Apr 8 21:18:22 2019 +++ src/sys/arch/aarch64/aarch64/pmap.c Fri May 17 06:05:07 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.40 2019/04/08 21:18:22 ryo Exp $ */ +/* $NetBSD: pmap.c,v 1.41 2019/05/17 06:05:07 mrg Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.40 2019/04/08 21:18:22 ryo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.41 2019/05/17 06:05:07 mrg Exp $"); #include "opt_arm_debug.h" #include "opt_ddb.h" @@ -628,10 +628,10 @@ static int _pmap_sweep_pdp(struct pmap *pm) { struct vm_page *pg, *tmp; - pd_entry_t *ptep_in_parent, opte; + pd_entry_t *ptep_in_parent, opte __diagused; paddr_t pa, pdppa; int nsweep; - uint16_t wirecount; + uint16_t wirecount __diagused; nsweep = 0; TAILQ_FOREACH_SAFE(pg, &pm->pm_vmlist, mdpage.mdpg_vmlist, tmp) { @@ -1452,7 +1452,7 @@ _pmap_pdp_delref(struct pmap *pm, paddr_ /* if no reference, free pdp */ removed = false; while (wirecount == 1) { - pd_entry_t *ptep_in_parent, opte;; + pd_entry_t *ptep_in_parent, opte __diagused; ptep_in_parent = VM_PAGE_TO_MD(pg)->mdpg_ptep_parent; if (ptep_in_parent == NULL) { /* no parent */
CVS commit: src/sys/netipsec
Module Name:src Committed By: knakahara Date: Fri May 17 05:27:24 UTC 2019 Modified Files: src/sys/netipsec: ipsecif.c Log Message: Don't clear calculated Tx tos value for IPv[46] over IPv6. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/netipsec/ipsecif.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/netipsec/ipsecif.c diff -u src/sys/netipsec/ipsecif.c:1.15 src/sys/netipsec/ipsecif.c:1.16 --- src/sys/netipsec/ipsecif.c:1.15 Fri Apr 12 07:12:12 2019 +++ src/sys/netipsec/ipsecif.c Fri May 17 05:27:24 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ipsecif.c,v 1.15 2019/04/12 07:12:12 knakahara Exp $ */ +/* $NetBSD: ipsecif.c,v 1.16 2019/05/17 05:27:24 knakahara Exp $ */ /* * Copyright (c) 2017 Internet Initiative Japan Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.15 2019/04/12 07:12:12 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.16 2019/05/17 05:27:24 knakahara Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -583,13 +583,13 @@ ipsecif6_output(struct ipsec_variant *va return ENETUNREACH; } #ifndef IPSEC_TX_TOS_CLEAR + if (!ip6_ipsec_copy_tos) + otos = 0; + if (ifp->if_flags & IFF_ECN) ip_ecn_ingress(ECN_ALLOWED, &otos, &itos); else ip_ecn_ingress(ECN_NOCARE, &otos, &itos); - - if (!ip6_ipsec_copy_tos) - otos = 0; #else if (ip6_ipsec_copy_tos) otos = itos;
CVS commit: src/sys/netipsec
Module Name:src Committed By: knakahara Date: Fri May 17 05:27:24 UTC 2019 Modified Files: src/sys/netipsec: ipsecif.c Log Message: Don't clear calculated Tx tos value for IPv[46] over IPv6. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/netipsec/ipsecif.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net80211
Module Name:src Committed By: msaitoh Date: Fri May 17 04:08:54 UTC 2019 Modified Files: src/sys/net80211: ieee80211_ioctl.c Log Message: Remove extra OSIOCSIFMEDIA. This old ioctl is converted to new one in doifioctl(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/net80211/ieee80211_ioctl.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/net80211/ieee80211_ioctl.c diff -u src/sys/net80211/ieee80211_ioctl.c:1.65 src/sys/net80211/ieee80211_ioctl.c:1.66 --- src/sys/net80211/ieee80211_ioctl.c:1.65 Thu Apr 11 11:40:58 2019 +++ src/sys/net80211/ieee80211_ioctl.c Fri May 17 04:08:54 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee80211_ioctl.c,v 1.65 2019/04/11 11:40:58 kamil Exp $ */ +/* $NetBSD: ieee80211_ioctl.c,v 1.66 2019/05/17 04:08:54 msaitoh Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting @@ -36,7 +36,7 @@ __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_ioctl.c,v 1.35 2005/08/30 14:27:47 avatar Exp $"); #endif #ifdef __NetBSD__ -__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.65 2019/04/11 11:40:58 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.66 2019/05/17 04:08:54 msaitoh Exp $"); #endif /* @@ -2576,9 +2576,6 @@ ieee80211_ioctl(struct ieee80211com *ic, u_int8_t tmpkey[IEEE80211_WEP_NKID][IEEE80211_KEYBUF_SIZE]; switch (cmd) { -#ifdef OSIOCSIFMEDIA - case OSIOCSIFMEDIA: -#endif case SIOCSIFMEDIA: case SIOCGIFMEDIA: error = ifmedia_ioctl(ifp, ifr, &ic->ic_media, cmd);
CVS commit: src/sys/net80211
Module Name:src Committed By: msaitoh Date: Fri May 17 04:08:54 UTC 2019 Modified Files: src/sys/net80211: ieee80211_ioctl.c Log Message: Remove extra OSIOCSIFMEDIA. This old ioctl is converted to new one in doifioctl(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/net80211/ieee80211_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Fri May 17 03:34:27 UTC 2019 Modified Files: src/sys/conf: files src/sys/kern: init_main.c kern_exit.c kern_lwp.c kern_softint.c subr_lwp_specificdata.c subr_psref.c src/sys/net: if.c route.c src/sys/rump/kern/lib/libsysproxy: sysproxy.c src/sys/rump/librump/rumpkern: lwproc.c rump.c src/sys/sys: lwp.h psref.h userret.h Log Message: Implement an aggressive psref leak detector It is yet another psref leak detector that enables to tell where a leak occurs while a simpler version that is already committed just tells an occurrence of a leak. Investigating of psref leaks is hard because once a leak occurs a percpu list of psref that tracks references can be corrupted. A reference to a tracking object is memorized in the list via an intermediate object (struct psref) that is normally allocated on a stack of a thread. Thus, the intermediate object can be overwritten on a leak resulting in corruption of the list. The tracker makes a shadow entry to an intermediate object and stores some hints into it (currently it's a caller address of psref_acquire). We can detect a leak by checking the entries on certain points where any references should be released such as the return point of syscalls and the end of each softint handler. The feature is expensive and enabled only if the kernel is built with PSREF_DEBUG. Proposed on tech-kern To generate a diff of this commit: cvs rdiff -u -r1.1235 -r1.1236 src/sys/conf/files cvs rdiff -u -r1.503 -r1.504 src/sys/kern/init_main.c cvs rdiff -u -r1.274 -r1.275 src/sys/kern/kern_exit.c cvs rdiff -u -r1.200 -r1.201 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.46 -r1.47 src/sys/kern/kern_softint.c cvs rdiff -u -r1.3 -r1.4 src/sys/kern/subr_lwp_specificdata.c cvs rdiff -u -r1.12 -r1.13 src/sys/kern/subr_psref.c cvs rdiff -u -r1.452 -r1.453 src/sys/net/if.c cvs rdiff -u -r1.218 -r1.219 src/sys/net/route.c cvs rdiff -u -r1.6 -r1.7 src/sys/rump/kern/lib/libsysproxy/sysproxy.c cvs rdiff -u -r1.41 -r1.42 src/sys/rump/librump/rumpkern/lwproc.c cvs rdiff -u -r1.333 -r1.334 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.182 -r1.183 src/sys/sys/lwp.h cvs rdiff -u -r1.3 -r1.4 src/sys/sys/psref.h cvs rdiff -u -r1.27 -r1.28 src/sys/sys/userret.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/conf/files diff -u src/sys/conf/files:1.1235 src/sys/conf/files:1.1236 --- src/sys/conf/files:1.1235 Fri Apr 26 10:11:03 2019 +++ src/sys/conf/files Fri May 17 03:34:26 2019 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1235 2019/04/26 10:11:03 jmcneill Exp $ +# $NetBSD: files,v 1.1236 2019/05/17 03:34:26 ozaki-r Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -315,6 +315,7 @@ defparam opt_kgdb.h KGDB_DEV KGDB_DEVNA defflagLOCKDEBUG defflagSYSCALL_DEBUG defflag opt_kstack.h KSTACK_CHECK_MAGIC +defflagPSREF_DEBUG # memory (ram) disk options # Index: src/sys/kern/init_main.c diff -u src/sys/kern/init_main.c:1.503 src/sys/kern/init_main.c:1.504 --- src/sys/kern/init_main.c:1.503 Wed Feb 20 10:07:27 2019 +++ src/sys/kern/init_main.c Fri May 17 03:34:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: init_main.c,v 1.503 2019/02/20 10:07:27 hannken Exp $ */ +/* $NetBSD: init_main.c,v 1.504 2019/05/17 03:34:26 ozaki-r Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.503 2019/02/20 10:07:27 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.504 2019/05/17 03:34:26 ozaki-r Exp $"); #include "opt_ddb.h" #include "opt_inet.h" @@ -195,6 +195,7 @@ extern void *_binary_splash_image_end; #include #include #include +#include #include #include @@ -393,6 +394,9 @@ main(void) procinit(); lwpinit(); + /* Must be called after lwpinit (lwpinit_specificdata) */ + psref_init(); + /* Initialize signal-related data structures. */ signal_init(); Index: src/sys/kern/kern_exit.c diff -u src/sys/kern/kern_exit.c:1.274 src/sys/kern/kern_exit.c:1.275 --- src/sys/kern/kern_exit.c:1.274 Fri Mar 1 09:02:03 2019 +++ src/sys/kern/kern_exit.c Fri May 17 03:34:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_exit.c,v 1.274 2019/03/01 09:02:03 hannken Exp $ */ +/* $NetBSD: kern_exit.c,v 1.275 2019/05/17 03:34:26 ozaki-r Exp $ */ /*- * Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -67,7 +67,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.274 2019/03/01 09:02:03 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.275 2019/05/17 03:34:26 ozaki-r Exp $"); #include "opt_ktrace.h" #include "opt_dtrace.h" @@ -105,6 +105,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_exit.c, #include #include #include +#include #include Index: src/sys/kern/kern_lwp.c diff -u src/sys/kern/kern_lwp.c:1.200 src/sys
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Fri May 17 03:34:27 UTC 2019 Modified Files: src/sys/conf: files src/sys/kern: init_main.c kern_exit.c kern_lwp.c kern_softint.c subr_lwp_specificdata.c subr_psref.c src/sys/net: if.c route.c src/sys/rump/kern/lib/libsysproxy: sysproxy.c src/sys/rump/librump/rumpkern: lwproc.c rump.c src/sys/sys: lwp.h psref.h userret.h Log Message: Implement an aggressive psref leak detector It is yet another psref leak detector that enables to tell where a leak occurs while a simpler version that is already committed just tells an occurrence of a leak. Investigating of psref leaks is hard because once a leak occurs a percpu list of psref that tracks references can be corrupted. A reference to a tracking object is memorized in the list via an intermediate object (struct psref) that is normally allocated on a stack of a thread. Thus, the intermediate object can be overwritten on a leak resulting in corruption of the list. The tracker makes a shadow entry to an intermediate object and stores some hints into it (currently it's a caller address of psref_acquire). We can detect a leak by checking the entries on certain points where any references should be released such as the return point of syscalls and the end of each softint handler. The feature is expensive and enabled only if the kernel is built with PSREF_DEBUG. Proposed on tech-kern To generate a diff of this commit: cvs rdiff -u -r1.1235 -r1.1236 src/sys/conf/files cvs rdiff -u -r1.503 -r1.504 src/sys/kern/init_main.c cvs rdiff -u -r1.274 -r1.275 src/sys/kern/kern_exit.c cvs rdiff -u -r1.200 -r1.201 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.46 -r1.47 src/sys/kern/kern_softint.c cvs rdiff -u -r1.3 -r1.4 src/sys/kern/subr_lwp_specificdata.c cvs rdiff -u -r1.12 -r1.13 src/sys/kern/subr_psref.c cvs rdiff -u -r1.452 -r1.453 src/sys/net/if.c cvs rdiff -u -r1.218 -r1.219 src/sys/net/route.c cvs rdiff -u -r1.6 -r1.7 src/sys/rump/kern/lib/libsysproxy/sysproxy.c cvs rdiff -u -r1.41 -r1.42 src/sys/rump/librump/rumpkern/lwproc.c cvs rdiff -u -r1.333 -r1.334 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.182 -r1.183 src/sys/sys/lwp.h cvs rdiff -u -r1.3 -r1.4 src/sys/sys/psref.h cvs rdiff -u -r1.27 -r1.28 src/sys/sys/userret.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src
>>> Joerg Sonnenberger wrote > On Thu, May 16, 2019 at 08:00:49PM +, Takeshi Nakayama wrote: > > Module Name:src > > Committed By: nakayama > > Date: Thu May 16 20:00:49 UTC 2019 > > > > Modified Files: > > src/share/mk: bsd.own.mk > > src/tools/llvm-clang-tblgen: Makefile > > src/tools/llvm-tblgen: Makefile > > > > Log Message: > > Rename nb{clang,llvm}-tblgen to ${MACHINE_GNU_PLATFORM}-{clang,llvm}-tblgen > > since they contain the default target (e.g. x86_64--netbsd). > > This is wrong. Nothing in tblgen depends on the default target. Please > revert. I thought that there is no functional difference, but different binaries are created for each architecture because the binary contains default target name. How can we avoid creating different binaries for each architecture? -- Takeshi Nakayama
CVS commit: src/sys/arch/sgimips/gio
Module Name:src Committed By: macallan Date: Thu May 16 23:42:23 UTC 2019 Modified Files: src/sys/arch/sgimips/gio: newportreg.h Log Message: Even more registers! To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sgimips/gio/newportreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/macppc/dev
Module Name:src Committed By: macallan Date: Thu May 16 23:39:37 UTC 2019 Modified Files: src/sys/arch/macppc/dev: snapper.c Log Message: switch the default input to line in, to avoid feedback noise on laptops should probably just mute the input, I need to read the datasheet again... To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/macppc/dev/snapper.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/macppc/dev/snapper.c diff -u src/sys/arch/macppc/dev/snapper.c:1.50 src/sys/arch/macppc/dev/snapper.c:1.51 --- src/sys/arch/macppc/dev/snapper.c:1.50 Wed May 8 13:40:15 2019 +++ src/sys/arch/macppc/dev/snapper.c Thu May 16 23:39:37 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: snapper.c,v 1.50 2019/05/08 13:40:15 isaki Exp $ */ +/* $NetBSD: snapper.c,v 1.51 2019/05/16 23:39:37 macallan Exp $ */ /* Id: snapper.c,v 1.11 2002/10/31 17:42:13 tsubai Exp */ /* Id: i2s.c,v 1.12 2005/01/15 14:32:35 tsubai Exp */ @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.50 2019/05/08 13:40:15 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.51 2019/05/16 23:39:37 macallan Exp $"); #include #include @@ -680,7 +680,7 @@ snapper_attach(device_t parent, device_t sc->sc_baseaddr = ca->ca_baseaddr; OF_getprop(soundbus, "reg", reg, sizeof reg); - /* deal with messed up properties on PowerMac7,3 abd friends */ + /* deal with messed up properties on PowerMac7,3 and friends */ if (reg[0] == 0) { reg[0] += ca->ca_reg[0]; reg[2] += ca->ca_reg[2]; @@ -1702,7 +1702,7 @@ const struct tas3004_reg tas3004_initdat { 0x10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* BIQUAD */ { 0, 0, 0 }, /* LLB_GAIN */ { 0, 0, 0 }, /* RLB_GAIN */ - { DEQ_ACR_ADM | DEQ_ACR_LRB | DEQ_ACR_INP_B }, /* ACR - right channel of input B is the microphone */ + { 0 }, /* ACR - line in */ { 2 } /* MCR2 - AllPass mode since we don't use the equalizer anyway */ }; @@ -2031,10 +2031,10 @@ snapper_init(struct snapper_softc *sc, i snapper_set_bass(sc, 128); snapper_set_treble(sc, 128); - /* Record source defaults to microphone. This reflects the + /* Record source defaults to line in. This reflects the * default value for the ACR (see tas3004_initdata). */ - sc->sc_record_source = 1 << 0; + sc->sc_record_source = 1 << 1; /* We mute the analog input for now */ sc->mixer[0] = 128;
Re: CVS commit: src
On Thu, May 16, 2019 at 08:00:49PM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Thu May 16 20:00:49 UTC 2019 > > Modified Files: > src/share/mk: bsd.own.mk > src/tools/llvm-clang-tblgen: Makefile > src/tools/llvm-tblgen: Makefile > > Log Message: > Rename nb{clang,llvm}-tblgen to ${MACHINE_GNU_PLATFORM}-{clang,llvm}-tblgen > since they contain the default target (e.g. x86_64--netbsd). This is wrong. Nothing in tblgen depends on the default target. Please revert. Joerg
CVS commit: src/sys/arch/sgimips/gio
Module Name:src Committed By: macallan Date: Thu May 16 23:42:23 UTC 2019 Modified Files: src/sys/arch/sgimips/gio: newportreg.h Log Message: Even more registers! To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sgimips/gio/newportreg.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/sgimips/gio/newportreg.h diff -u src/sys/arch/sgimips/gio/newportreg.h:1.8 src/sys/arch/sgimips/gio/newportreg.h:1.9 --- src/sys/arch/sgimips/gio/newportreg.h:1.8 Fri May 10 22:54:51 2019 +++ src/sys/arch/sgimips/gio/newportreg.h Thu May 16 23:42:23 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: newportreg.h,v 1.8 2019/05/10 22:54:51 macallan Exp $ */ +/* $NetBSD: newportreg.h,v 1.9 2019/05/16 23:42:23 macallan Exp $ */ /* * Copyright (c) 2003 Ilpo Ruotsalainen @@ -145,6 +145,14 @@ #define REX3_REG_COLORBACK 0x0018 #define REX3_REG_COLORVRAM 0x001c +#define REX3_REG_ALPHAREF 0x0020 +#define REX3_REG_STALL0 0x0024 /* stall until engine is idle */ + +#define REX3_REG_SMASK0X 0x0028 /* min/max 16.16 */ +#define REX3_REG_SMASK0Y 0x002c /* min/max 16.16 */ + +#define REX3_REG_SETUP 0x0030 + #define REX3_REG_XSTART 0x0100 #define REX3_REG_XYMOVE 0x0114 @@ -162,6 +170,9 @@ #define REX3_REG_COLORI 0x0224 +#define REX3_REG_HOSTRW0 0x0230 +#define REX3_REG_HOSTRW1 0x0234 + #define REX3_REG_DCBMODE 0x0238 #define REX3_DCBMODE_DW_MASK 0x0003 #define REX3_DCBMODE_DW_4 0x @@ -190,6 +201,16 @@ /* Not really a register, but in the same space */ #define REX3_REG_GO 0x0800 +/* clipping regions, enable/disable in REG_CLIPMODE */ +#define REX3_REG_SMASK1X 0x1300 /* min/max 16.16 */ +#define REX3_REG_SMASK1Y 0x1304 /* min/max 16.16 */ +#define REX3_REG_SMASK2X 0x1308 /* min/max 16.16 */ +#define REX3_REG_SMASK2Y 0x130c /* min/max 16.16 */ +#define REX3_REG_SMASK3X 0x1310 /* min/max 16.16 */ +#define REX3_REG_SMASK3Y 0x1314 /* min/max 16.16 */ +#define REX3_REG_SMASK4X 0x1318 /* min/max 16.16 */ +#define REX3_REG_SMASK4Y 0x131c /* min/max 16.16 */ + #define REX3_REG_TOPSCAN 0x1320 #define REX3_REG_XYWIN 0x1324 #define REX3_REG_CLIPMODE 0x1328 @@ -203,6 +224,8 @@ #define REX3_CLIPMODE_CIDMATCH2 0x0800 #define REX3_CLIPMODE_CIDMATCH3 0x1000 +#define REX3_REG_STALL1 0x132c +#define REX3_REG_CONFIG 0x1330 #define REX3_REG_STATUS 0x1338 #define REX3_STATUS_GFXBUSY 0x0008
CVS commit: src/sys/arch/macppc/dev
Module Name:src Committed By: macallan Date: Thu May 16 23:39:37 UTC 2019 Modified Files: src/sys/arch/macppc/dev: snapper.c Log Message: switch the default input to line in, to avoid feedback noise on laptops should probably just mute the input, I need to read the datasheet again... To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/macppc/dev/snapper.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc
Module Name:src Committed By: nakayama Date: Thu May 16 20:12:35 UTC 2019 Modified Files: src/etc: newsyslog.conf Log Message: Specify PID file to properly rotate npf log file. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/etc/newsyslog.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc
Module Name:src Committed By: nakayama Date: Thu May 16 20:12:35 UTC 2019 Modified Files: src/etc: newsyslog.conf Log Message: Specify PID file to properly rotate npf log file. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/etc/newsyslog.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/newsyslog.conf diff -u src/etc/newsyslog.conf:1.23 src/etc/newsyslog.conf:1.24 --- src/etc/newsyslog.conf:1.23 Sat Jan 7 18:50:50 2017 +++ src/etc/newsyslog.conf Thu May 16 20:12:35 2019 @@ -1,4 +1,4 @@ -# $NetBSD: newsyslog.conf,v 1.23 2017/01/07 18:50:50 christos Exp $ +# $NetBSD: newsyslog.conf,v 1.24 2019/05/16 20:12:35 nakayama Exp $ # # Configuration file for newsyslog(8). # @@ -8,7 +8,7 @@ /var/log/cron root:wheel 600 3100 *Z /var/log/kerberos.log 640 7*24 ZN /var/log/lpd-errs 640 7100 *Z -/var/log/npflog0.pcap 600 7100 *ZB +/var/log/npflog0.pcap 600 7100 *ZB /var/run/npfd.pid /var/log/maillog 600 7*24 Z /var/log/messages 644 10 250 *Z /var/log/wtmp root:utmp 664 7*168 ZBN
CVS commit: src
Module Name:src Committed By: nakayama Date: Thu May 16 20:00:49 UTC 2019 Modified Files: src/share/mk: bsd.own.mk src/tools/llvm-clang-tblgen: Makefile src/tools/llvm-tblgen: Makefile Log Message: Rename nb{clang,llvm}-tblgen to ${MACHINE_GNU_PLATFORM}-{clang,llvm}-tblgen since they contain the default target (e.g. x86_64--netbsd). To generate a diff of this commit: cvs rdiff -u -r1.1134 -r1.1135 src/share/mk/bsd.own.mk cvs rdiff -u -r1.1 -r1.2 src/tools/llvm-clang-tblgen/Makefile cvs rdiff -u -r1.2 -r1.3 src/tools/llvm-tblgen/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: nakayama Date: Thu May 16 20:00:49 UTC 2019 Modified Files: src/share/mk: bsd.own.mk src/tools/llvm-clang-tblgen: Makefile src/tools/llvm-tblgen: Makefile Log Message: Rename nb{clang,llvm}-tblgen to ${MACHINE_GNU_PLATFORM}-{clang,llvm}-tblgen since they contain the default target (e.g. x86_64--netbsd). To generate a diff of this commit: cvs rdiff -u -r1.1134 -r1.1135 src/share/mk/bsd.own.mk cvs rdiff -u -r1.1 -r1.2 src/tools/llvm-clang-tblgen/Makefile cvs rdiff -u -r1.2 -r1.3 src/tools/llvm-tblgen/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1134 src/share/mk/bsd.own.mk:1.1135 --- src/share/mk/bsd.own.mk:1.1134 Sat May 11 02:40:31 2019 +++ src/share/mk/bsd.own.mk Thu May 16 20:00:49 2019 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1134 2019/05/11 02:40:31 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1135 2019/05/16 20:00:49 nakayama Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -365,7 +365,7 @@ TOOL_AWK= ${TOOLDIR}/bin/${_TOOL_PREFIX TOOL_CAP_MKDB= ${TOOLDIR}/bin/${_TOOL_PREFIX}cap_mkdb TOOL_CAT= ${TOOLDIR}/bin/${_TOOL_PREFIX}cat TOOL_CKSUM= ${TOOLDIR}/bin/${_TOOL_PREFIX}cksum -TOOL_CLANG_TBLGEN= ${TOOLDIR}/bin/${_TOOL_PREFIX}clang-tblgen +TOOL_CLANG_TBLGEN= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-clang-tblgen TOOL_COMPILE_ET= ${TOOLDIR}/bin/${_TOOL_PREFIX}compile_et TOOL_CONFIG= ${TOOLDIR}/bin/${_TOOL_PREFIX}config TOOL_CRUNCHGEN= MAKE=${.MAKE:Q} ${TOOLDIR}/bin/${_TOOL_PREFIX}crunchgen @@ -399,7 +399,7 @@ TOOL_INDXBIB= ${TOOLDIR}/bin/${_TOOL_PR TOOL_INSTALLBOOT= ${TOOLDIR}/bin/${_TOOL_PREFIX}installboot TOOL_INSTALL_INFO= ${TOOLDIR}/bin/${_TOOL_PREFIX}install-info TOOL_JOIN= ${TOOLDIR}/bin/${_TOOL_PREFIX}join -TOOL_LLVM_TBLGEN= ${TOOLDIR}/bin/${_TOOL_PREFIX}llvm-tblgen +TOOL_LLVM_TBLGEN= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-llvm-tblgen TOOL_M4= ${TOOLDIR}/bin/${_TOOL_PREFIX}m4 TOOL_MACPPCFIXCOFF= ${TOOLDIR}/bin/${_TOOL_PREFIX}macppc-fixcoff TOOL_MAKEFS= ${TOOLDIR}/bin/${_TOOL_PREFIX}makefs Index: src/tools/llvm-clang-tblgen/Makefile diff -u src/tools/llvm-clang-tblgen/Makefile:1.1 src/tools/llvm-clang-tblgen/Makefile:1.2 --- src/tools/llvm-clang-tblgen/Makefile:1.1 Tue Oct 11 13:54:01 2011 +++ src/tools/llvm-clang-tblgen/Makefile Thu May 16 20:00:49 2019 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2011/10/11 13:54:01 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2019/05/16 20:00:49 nakayama Exp $ -HOSTPROGNAME= ${_TOOL_PREFIX}clang-tblgen -HOSTPROG_CXX= ${_TOOL_PREFIX}clang-tblgen +HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-clang-tblgen +HOSTPROG_CXX= ${MACHINE_GNU_PLATFORM}-clang-tblgen HOST_SRCDIR= external/bsd/llvm/bin/clang-tblgen .include "${.CURDIR}/../Makefile.host" Index: src/tools/llvm-tblgen/Makefile diff -u src/tools/llvm-tblgen/Makefile:1.2 src/tools/llvm-tblgen/Makefile:1.3 --- src/tools/llvm-tblgen/Makefile:1.2 Tue Oct 11 13:54:01 2011 +++ src/tools/llvm-tblgen/Makefile Thu May 16 20:00:49 2019 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2011/10/11 13:54:01 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2019/05/16 20:00:49 nakayama Exp $ -HOSTPROGNAME= ${_TOOL_PREFIX}llvm-tblgen -HOSTPROG_CXX= ${_TOOL_PREFIX}llvm-tblgen +HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-llvm-tblgen +HOSTPROG_CXX= ${MACHINE_GNU_PLATFORM}-llvm-tblgen HOST_SRCDIR= external/bsd/llvm/bin/tblgen .include "${.CURDIR}/../Makefile.host"
CVS commit: src/lib/lua/sqlite
Module Name:src Committed By: tpaul Date: Thu May 16 12:42:35 UTC 2019 Modified Files: src/lib/lua/sqlite: sqlite.c Log Message: Prevent Lua from crashing if clear_bindings() is called on a statement that failed to prepare(). ok mbalmer@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/lua/sqlite/sqlite.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/lua/sqlite
Module Name:src Committed By: tpaul Date: Thu May 16 12:42:35 UTC 2019 Modified Files: src/lib/lua/sqlite: sqlite.c Log Message: Prevent Lua from crashing if clear_bindings() is called on a statement that failed to prepare(). ok mbalmer@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/lua/sqlite/sqlite.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/lua/sqlite/sqlite.c diff -u src/lib/lua/sqlite/sqlite.c:1.9 src/lib/lua/sqlite/sqlite.c:1.10 --- src/lib/lua/sqlite/sqlite.c:1.9 Wed May 10 07:36:01 2017 +++ src/lib/lua/sqlite/sqlite.c Thu May 16 12:42:35 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: sqlite.c,v 1.9 2017/05/10 07:36:01 mbalmer Exp $ */ +/* $NetBSD: sqlite.c,v 1.10 2019/05/16 12:42:35 tpaul Exp $ */ /* * Copyright (c) 2011, 2013, 2016, 2017 Marc Balmer @@ -336,7 +336,10 @@ stmt_clear_bindings(lua_State *L) sqlite3_stmt **stmt; stmt = luaL_checkudata(L, 1, SQLITE_STMT_METATABLE); - sqlite3_clear_bindings(*stmt); + if (*stmt) { + sqlite3_clear_bindings(*stmt); + *stmt = NULL; + } return 0; }
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Thu May 16 10:28:19 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: CE, DLCI, LMI, MGCP, PE, PVC, SVC, VPWS To generate a diff of this commit: cvs rdiff -u -r1.251 -r1.252 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Thu May 16 10:28:19 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: CE, DLCI, LMI, MGCP, PE, PVC, SVC, VPWS To generate a diff of this commit: cvs rdiff -u -r1.251 -r1.252 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.251 src/share/misc/acronyms.comp:1.252 --- src/share/misc/acronyms.comp:1.251 Tue May 7 21:14:46 2019 +++ src/share/misc/acronyms.comp Thu May 16 10:28:19 2019 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.251 2019/05/07 21:14:46 sevan Exp $ +$NetBSD: acronyms.comp,v 1.252 2019/05/16 10:28:19 sevan Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -213,6 +213,7 @@ CDMA code division multiple access CDP Cisco Discovery Protocol CDRAM cache dynamic random access memory CER canonical encoding rules +CE customer edge CF compact flash CFB cipher feedback CFG context-free grammar @@ -371,6 +372,7 @@ DIRT design in real time DL diode logic DL discrete logarithm DL download +DLCI data link connection identifier DLE data link escape DLL dynamic link library DLP discrete logarithm problem @@ -799,6 +801,7 @@ LLF low level format LLMNR link-local multicast name resolution LLVM Low Level Virtual Machine LM long mode +LMI local management interface LMM link management mode LMP link management protocol LNO loop nest optimization @@ -868,6 +871,7 @@ MFC merge from current MFC Microsoft Foundation Classes MFM modified frequency modulation MFU most frequently used +MGCP media gateway control protocol MI machine-independent MI machine interface MIB management information base @@ -1084,6 +1088,7 @@ PDP page {descriptor,directory} page PDS product data sheet PDU protocol data unit PE protection enable +PE provider edge PEAP Protected EAP PECI platform environment control interface PEP protocol extension protocol @@ -1174,6 +1179,7 @@ PU processing unit PUC personal unblocking code PUN physical unit number PV physical volume +PVC permanent virtual circuit PVG physical volume group PVI protected-mode virtual interrupt PVST Per-VLAN Spanning Tree @@ -1431,6 +1437,7 @@ STP shielded twisted pair SUN Stanford University Network SUS Single Unix Specification SUT system under test +SVC switched virtual circuit SVG scalable vector graphics SVGA Super Video Graphics Array SVI {switch,switched} virtual interface @@ -1594,6 +1601,7 @@ VMX virtual machine extensions VOD video on demand VPD vital product data VPN virtual private network +VPWS virtual private wire service VR virtual reality VRAM video random access memory VRF virtual routing and forwarding
CVS commit: xsrc/external/mit/fontconfig/dist/src
Module Name:xsrc Committed By: nakayama Date: Thu May 16 09:59:37 UTC 2019 Modified Files: xsrc/external/mit/fontconfig/dist/src: fcdir.c Log Message: Do not remove UUID file when a scanned directory is empty. pulled from the following upstream change: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/5f12f564f8748deaa603adb7a4b8f616b6390ad4 It fixes that a cache file for an empty font directory is created every time fc-cache is executed. To generate a diff of this commit: cvs rdiff -u -r1.1.1.8 -r1.2 xsrc/external/mit/fontconfig/dist/src/fcdir.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/fontconfig/dist/src/fcdir.c diff -u xsrc/external/mit/fontconfig/dist/src/fcdir.c:1.1.1.8 xsrc/external/mit/fontconfig/dist/src/fcdir.c:1.2 --- xsrc/external/mit/fontconfig/dist/src/fcdir.c:1.1.1.8 Fri Mar 8 09:40:41 2019 +++ xsrc/external/mit/fontconfig/dist/src/fcdir.c Thu May 16 09:59:37 2019 @@ -421,13 +421,6 @@ FcDirCacheRead (const FcChar8 *dir, FcBo /* Not using existing cache file, construct new cache */ if (!cache) cache = FcDirCacheScan (dir, config); -if (cache) -{ - FcFontSet *fs = FcCacheSet (cache); - - if (cache->dirs_count == 0 && (!fs || fs->nfont == 0)) - FcDirCacheDeleteUUID (dir, config); -} return cache; }
CVS commit: xsrc/external/mit/fontconfig/dist/src
Module Name:xsrc Committed By: nakayama Date: Thu May 16 09:59:37 UTC 2019 Modified Files: xsrc/external/mit/fontconfig/dist/src: fcdir.c Log Message: Do not remove UUID file when a scanned directory is empty. pulled from the following upstream change: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/5f12f564f8748deaa603adb7a4b8f616b6390ad4 It fixes that a cache file for an empty font directory is created every time fc-cache is executed. To generate a diff of this commit: cvs rdiff -u -r1.1.1.8 -r1.2 xsrc/external/mit/fontconfig/dist/src/fcdir.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.