CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Wed Apr 27 06:02:03 UTC 2011 Modified Files: src/share/man/man9: uvm.9 Log Message: Bump date for uvm_swap_stats() removal; remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/share/man/man9/uvm.9 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/man9/uvm.9 diff -u src/share/man/man9/uvm.9:1.104 src/share/man/man9/uvm.9:1.105 --- src/share/man/man9/uvm.9:1.104 Wed Apr 27 00:35:53 2011 +++ src/share/man/man9/uvm.9 Wed Apr 27 06:02:03 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: uvm.9,v 1.104 2011/04/27 00:35:53 rmind Exp $ +.\ $NetBSD: uvm.9,v 1.105 2011/04/27 06:02:03 wiz Exp $ .\ .\ Copyright (c) 1998 Matthew R. Green .\ All rights reserved. @@ -24,7 +24,7 @@ .\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\ SUCH DAMAGE. .\ -.Dd November 7, 2010 +.Dd April 27, 2011 .Dt UVM 9 .Os .Sh NAME @@ -891,7 +891,6 @@ .Fa newsize . Caller must hold a reference to the vnode. If the vnode shrinks, pages no longer used are discarded. -.Pp .Sh SYSCTL UVM provides support for the .Dv CTL_VM
CVS commit: src/sys/kern
Module Name:src Committed By: martin Date: Wed Apr 27 06:22:11 UTC 2011 Modified Files: src/sys/kern: kern_prot.c Log Message: Simplify previous: the original code was mostly correct but relied on register_t being signed. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/kern/kern_prot.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/kern/kern_prot.c diff -u src/sys/kern/kern_prot.c:1.112 src/sys/kern/kern_prot.c:1.113 --- src/sys/kern/kern_prot.c:1.112 Tue Apr 26 19:58:12 2011 +++ src/sys/kern/kern_prot.c Wed Apr 27 06:22:11 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_prot.c,v 1.112 2011/04/26 19:58:12 martin Exp $ */ +/* $NetBSD: kern_prot.c,v 1.113 2011/04/27 06:22:11 martin Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993 @@ -41,7 +41,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: kern_prot.c,v 1.112 2011/04/26 19:58:12 martin Exp $); +__KERNEL_RCSID(0, $NetBSD: kern_prot.c,v 1.113 2011/04/27 06:22:11 martin Exp $); #include opt_compat_43.h @@ -231,9 +231,7 @@ *retval = kauth_cred_ngroups(l-l_cred); if (SCARG(uap, gidsetsize) == 0) return 0; - if (SCARG(uap, gidsetsize) 0) - return EINVAL; - if (SCARG(uap, gidsetsize) *retval) + if (SCARG(uap, gidsetsize) (int)*retval) return EINVAL; return kauth_cred_getgroups(l-l_cred, SCARG(uap, gidset), *retval,
CVS commit: src/sys/ufs/ffs
Module Name:src Committed By: hannken Date: Wed Apr 27 07:24:53 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_extern.h ffs_vfsops.c ffs_vnops.c Log Message: Cleanup ffs fsync and make devices on wapbl enabled file systems work here: - Replace the ugly sync loop in ffs_full_fsync() and ffs_vfs_fsync() with vflushbuf(). This loop is a relic of softdeps and not needed anymore. - Add ffs_spec_fsync() for device nodes on ffs file systems that calls spec_fsync() like all other file systems do and then updates the ctime. Discussed on tech-kern. Should fix PRs: PR #41192 wapbl diagnostic panic during cgdconfig PR #41977 kernel diagnostic assertion rw_lock_held(wl-wl_rwlock) failed PR #42149 wapbl locking panic if watching DVD PR #42551 Lockdebug assert in wapbl when running zpool To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/ufs/ffs/ffs_extern.h cvs rdiff -u -r1.265 -r1.266 src/sys/ufs/ffs/ffs_vfsops.c cvs rdiff -u -r1.117 -r1.118 src/sys/ufs/ffs/ffs_vnops.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/ufs/ffs/ffs_extern.h diff -u src/sys/ufs/ffs/ffs_extern.h:1.76 src/sys/ufs/ffs/ffs_extern.h:1.77 --- src/sys/ufs/ffs/ffs_extern.h:1.76 Sun Mar 6 17:08:38 2011 +++ src/sys/ufs/ffs/ffs_extern.h Wed Apr 27 07:24:52 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_extern.h,v 1.76 2011/03/06 17:08:38 bouyer Exp $ */ +/* $NetBSD: ffs_extern.h,v 1.77 2011/04/27 07:24:52 hannken Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -125,6 +125,7 @@ int ffs_read(void *); int ffs_write(void *); int ffs_fsync(void *); +int ffs_spec_fsync(void *); int ffs_reclaim(void *); int ffs_getpages(void *); void ffs_gop_size(struct vnode *, off_t, off_t *, int); Index: src/sys/ufs/ffs/ffs_vfsops.c diff -u src/sys/ufs/ffs/ffs_vfsops.c:1.265 src/sys/ufs/ffs/ffs_vfsops.c:1.266 --- src/sys/ufs/ffs/ffs_vfsops.c:1.265 Sun Mar 27 08:04:50 2011 +++ src/sys/ufs/ffs/ffs_vfsops.c Wed Apr 27 07:24:53 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_vfsops.c,v 1.265 2011/03/27 08:04:50 mlelstv Exp $ */ +/* $NetBSD: ffs_vfsops.c,v 1.266 2011/04/27 07:24:53 hannken Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ffs_vfsops.c,v 1.265 2011/03/27 08:04:50 mlelstv Exp $); +__KERNEL_RCSID(0, $NetBSD: ffs_vfsops.c,v 1.266 2011/04/27 07:24:53 hannken Exp $); #if defined(_KERNEL_OPT) #include opt_ffs.h @@ -2071,14 +2071,12 @@ } /* - * Synch vnode for a mounted file system. This is called for foreign - * vnodes, i.e. non-ffs. + * Synch vnode for a mounted file system. */ static int ffs_vfs_fsync(vnode_t *vp, int flags) { - int error, passes, skipmeta, i, pflags; - buf_t *bp, *nbp; + int error, i, pflags; #ifdef WAPBL struct mount *mp; #endif @@ -2130,80 +2128,9 @@ } #endif /* WAPBL */ - /* - * Write out metadata for non-logging file systems. XXX This block - * should be simplified now that softdep is gone. - */ - passes = NIADDR + 1; - skipmeta = 0; - if (flags FSYNC_WAIT) - skipmeta = 1; - -loop: - mutex_enter(bufcache_lock); - LIST_FOREACH(bp, vp-v_dirtyblkhd, b_vnbufs) { - bp-b_cflags = ~BC_SCANNED; - } - for (bp = LIST_FIRST(vp-v_dirtyblkhd); bp; bp = nbp) { - nbp = LIST_NEXT(bp, b_vnbufs); - if (bp-b_cflags (BC_BUSY | BC_SCANNED)) - continue; - if ((bp-b_oflags BO_DELWRI) == 0) - panic(ffs_fsync: not dirty); - if (skipmeta bp-b_lblkno 0) - continue; - bp-b_cflags |= BC_BUSY | BC_VFLUSH | BC_SCANNED; - mutex_exit(bufcache_lock); - /* - * On our final pass through, do all I/O synchronously - * so that we can find out if our flush is failing - * because of write errors. - */ - if (passes 0 || !(flags FSYNC_WAIT)) - (void) bawrite(bp); - else if ((error = bwrite(bp)) != 0) - return (error); - /* - * Since we unlocked during the I/O, we need - * to start from a known point. - */ - mutex_enter(bufcache_lock); - nbp = LIST_FIRST(vp-v_dirtyblkhd); - } - mutex_exit(bufcache_lock); - if (skipmeta) { - skipmeta = 0; - goto loop; - } - - if ((flags FSYNC_WAIT) != 0) { - mutex_enter(vp-v_interlock); - while (vp-v_numoutput) { - cv_wait(vp-v_cv, vp-v_interlock); - } - mutex_exit(vp-v_interlock); - - if (!LIST_EMPTY(vp-v_dirtyblkhd)) { - /* - * Block devices associated with filesystems may - * have new I/O requests posted for them even if - * the vnode is locked, so no amount of trying will - * get them clean. Thus we give block devices a - * good effort, then just give up. For all other file - * types, go around and try again until it is clean. - */ - if (passes 0) { -passes--; -goto loop; - } -#ifdef DIAGNOSTIC - if (vp-v_type != VBLK) -vprint(ffs_fsync: dirty, vp); -#endif - } - } - + error = vflushbuf(vp, (flags FSYNC_WAIT) != 0); if (error == 0 (flags FSYNC_CACHE) != 0) { + i = 1;
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: plunky Date: Wed Apr 27 07:42:11 UTC 2011 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: drop 'inline' here, to avoid C99 vs GNU differences To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/x86/x86/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/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.119 src/sys/arch/x86/x86/pmap.c:1.120 --- src/sys/arch/x86/x86/pmap.c:1.119 Thu Apr 14 16:00:21 2011 +++ src/sys/arch/x86/x86/pmap.c Wed Apr 27 07:42:11 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.119 2011/04/14 16:00:21 yamt Exp $ */ +/* $NetBSD: pmap.c,v 1.120 2011/04/27 07:42:11 plunky Exp $ */ /* * Copyright (c) 2007 Manuel Bouyer. @@ -142,7 +142,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: pmap.c,v 1.119 2011/04/14 16:00:21 yamt Exp $); +__KERNEL_RCSID(0, $NetBSD: pmap.c,v 1.120 2011/04/27 07:42:11 plunky Exp $); #include opt_user_ldt.h #include opt_lockdebug.h @@ -767,7 +767,7 @@ * Add a reference to the specified pmap. */ -inline void +void pmap_reference(struct pmap *pmap) {
CVS commit: src/sys/dev/ic
Module Name:src Committed By: plunky Date: Wed Apr 27 07:47:33 UTC 2011 Modified Files: src/sys/dev/ic: ad1848.c Log Message: drop 'external' inline here, to avoid C99 vs GNU differences To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/ic/ad1848.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/dev/ic/ad1848.c diff -u src/sys/dev/ic/ad1848.c:1.29 src/sys/dev/ic/ad1848.c:1.30 --- src/sys/dev/ic/ad1848.c:1.29 Mon Apr 28 20:23:48 2008 +++ src/sys/dev/ic/ad1848.c Wed Apr 27 07:47:33 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $ */ +/* $NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $); +__KERNEL_RCSID(0, $NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $); #include sys/param.h #include sys/systm.h @@ -216,7 +216,7 @@ } -inline int +int ad_read(struct ad1848_softc *sc, int reg) { int x; @@ -227,7 +227,7 @@ return x; } -inline void +void ad_write(struct ad1848_softc *sc, int reg, int data) { @@ -241,7 +241,7 @@ * indirection through CS_XREG (I23). */ -inline int +int ad_xread(struct ad1848_softc *sc, int reg) { int x; @@ -253,7 +253,7 @@ return x; } -inline void +void ad_xwrite(struct ad1848_softc *sc, int reg, int val) {
CVS commit: src/sys/dev/raidframe
Module Name:src Committed By: mrg Date: Wed Apr 27 07:55:15 UTC 2011 Modified Files: src/sys/dev/raidframe: rf_acctrace.h rf_driver.c rf_driver.h rf_engine.c rf_netbsdkintf.c rf_paritymap.c rf_raid.h rf_states.c rf_threadstuff.h Log Message: prepare to convert more raidframe old lock/sleep APIs to mutex/condvar: - remove RF_DECLARE_EXTERN_MUTEX and RF_DECLARE_STATIC_MUTEX, the qualifier can be provided at the use point with the normal define - rename the *LGMGR_MUTEX() macros to *mutex2() names, and add some more defines for use: rf_declare_mutex2() rf_declare_cond2() rf_lock_mutex2() rf_unlock_mutex2() rf_init_mutex2() rf_destroy_mutex2() rf_init_cond2() rf_destroy_cond2() rf_wait_cond2() rf_signal_cond2() rf_broadcast_cond2() - use the new names for the configureMutex(), which previous used some combo of direct mutex* calls and macros - convert the node_queue to use a mutex/cv combo - in rf_ShutdownEngine() and DAGExecutionThread(), also signal the former from the latter when it is done and about to exit - convert iodone_lock to use the new macros To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/raidframe/rf_acctrace.h cvs rdiff -u -r1.124 -r1.125 src/sys/dev/raidframe/rf_driver.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/raidframe/rf_driver.h cvs rdiff -u -r1.43 -r1.44 src/sys/dev/raidframe/rf_engine.c cvs rdiff -u -r1.285 -r1.286 src/sys/dev/raidframe/rf_netbsdkintf.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/raidframe/rf_paritymap.c cvs rdiff -u -r1.39 -r1.40 src/sys/dev/raidframe/rf_raid.h cvs rdiff -u -r1.45 -r1.46 src/sys/dev/raidframe/rf_states.c cvs rdiff -u -r1.24 -r1.25 src/sys/dev/raidframe/rf_threadstuff.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/dev/raidframe/rf_acctrace.h diff -u src/sys/dev/raidframe/rf_acctrace.h:1.8 src/sys/dev/raidframe/rf_acctrace.h:1.9 --- src/sys/dev/raidframe/rf_acctrace.h:1.8 Sun Dec 11 12:23:37 2005 +++ src/sys/dev/raidframe/rf_acctrace.h Wed Apr 27 07:55:14 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rf_acctrace.h,v 1.8 2005/12/11 12:23:37 christos Exp $ */ +/* $NetBSD: rf_acctrace.h,v 1.9 2011/04/27 07:55:14 mrg Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -123,7 +123,7 @@ RF_Hist_t tot_hist[RF_HIST_NUM_BUCKETS]; } RF_AccTotals_t; -RF_DECLARE_EXTERN_MUTEX(rf_tracing_mutex) +extern RF_DECLARE_MUTEX(rf_tracing_mutex); int rf_ConfigureAccessTrace(RF_ShutdownList_t ** listp); Index: src/sys/dev/raidframe/rf_driver.c diff -u src/sys/dev/raidframe/rf_driver.c:1.124 src/sys/dev/raidframe/rf_driver.c:1.125 --- src/sys/dev/raidframe/rf_driver.c:1.124 Sat Apr 23 22:22:46 2011 +++ src/sys/dev/raidframe/rf_driver.c Wed Apr 27 07:55:14 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rf_driver.c,v 1.124 2011/04/23 22:22:46 mrg Exp $ */ +/* $NetBSD: rf_driver.c,v 1.125 2011/04/27 07:55:14 mrg Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -66,7 +66,7 @@ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rf_driver.c,v 1.124 2011/04/23 22:22:46 mrg Exp $); +__KERNEL_RCSID(0, $NetBSD: rf_driver.c,v 1.125 2011/04/27 07:55:14 mrg Exp $); #ifdef _KERNEL_OPT #include opt_raid_diagnostic.h @@ -145,8 +145,8 @@ static int configureCount = 0; /* number of active configurations */ static int isconfigged = 0; /* is basic raidframe (non per-array) * stuff configured */ -RF_DECLARE_LKMGR_STATIC_MUTEX(configureMutex) /* used to lock the configuration - * stuff */ +static rf_declare_mutex2(configureMutex); /* used to lock the configuration + * stuff */ static RF_ShutdownList_t *globalShutdown; /* non array-specific * stuff */ @@ -162,7 +162,7 @@ if (raidframe_booted) return (EBUSY); raidframe_booted = 1; - mutex_init(configureMutex, MUTEX_DEFAULT, IPL_NONE); + rf_init_mutex2(configureMutex, IPL_NONE); configureCount = 0; isconfigged = 0; globalShutdown = NULL; @@ -176,7 +176,7 @@ rf_UnconfigureArray(void) { - RF_LOCK_LKMGR_MUTEX(configureMutex); + rf_lock_mutex2(configureMutex); if (--configureCount == 0) { /* if no active configurations, shut * everything down */ isconfigged = 0; @@ -191,7 +191,7 @@ rf_print_unfreed(); #endif } - RF_UNLOCK_LKMGR_MUTEX(configureMutex); + rf_unlock_mutex2(configureMutex); } /* @@ -265,7 +265,7 @@ RF_ERRORMSG2(RAIDFRAME: failed %s with %d\n, RF_STRING(f), rc); \ rf_ShutdownList(globalShutdown); \ configureCount--; \ - RF_UNLOCK_LKMGR_MUTEX(configureMutex); \ + rf_unlock_mutex2(configureMutex); \ return(rc); \ } \ } @@ -296,7 +296,7 @@ RF_RowCol_t col; int rc; - RF_LOCK_LKMGR_MUTEX(configureMutex); + rf_lock_mutex2(configureMutex); configureCount++; if (isconfigged == 0) { rf_mutex_init(rf_printf_mutex);
CVS commit: src/sys/kern
Module Name:src Committed By: plunky Date: Wed Apr 27 08:32:43 UTC 2011 Modified Files: src/sys/kern: kern_sleepq.c Log Message: drop inline here, to avoid C99 vs GNU differences To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/kern/kern_sleepq.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/kern/kern_sleepq.c diff -u src/sys/kern/kern_sleepq.c:1.37 src/sys/kern/kern_sleepq.c:1.38 --- src/sys/kern/kern_sleepq.c:1.37 Wed Oct 21 21:12:06 2009 +++ src/sys/kern/kern_sleepq.c Wed Apr 27 08:32:42 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_sleepq.c,v 1.37 2009/10/21 21:12:06 rmind Exp $ */ +/* $NetBSD: kern_sleepq.c,v 1.38 2011/04/27 08:32:42 plunky Exp $ */ /*- * Copyright (c) 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: kern_sleepq.c,v 1.37 2009/10/21 21:12:06 rmind Exp $); +__KERNEL_RCSID(0, $NetBSD: kern_sleepq.c,v 1.38 2011/04/27 08:32:42 plunky Exp $); #include sys/param.h #include sys/kernel.h @@ -163,7 +163,7 @@ * * Insert an LWP into the sleep queue, optionally sorting by priority. */ -inline void +void sleepq_insert(sleepq_t *sq, lwp_t *l, syncobj_t *sobj) { lwp_t *l2;
CVS commit: src/sys/sys
Module Name:src Committed By: hannken Date: Wed Apr 27 09:47:25 UTC 2011 Modified Files: src/sys/sys: buf.h Log Message: Remove no longer needed flag BC_SCANNED /* Block already pushed during sync */. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/sys/buf.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/sys/buf.h diff -u src/sys/sys/buf.h:1.115 src/sys/sys/buf.h:1.116 --- src/sys/sys/buf.h:1.115 Wed Nov 11 09:15:42 2009 +++ src/sys/sys/buf.h Wed Apr 27 09:47:25 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: buf.h,v 1.115 2009/11/11 09:15:42 rmind Exp $ */ +/* $NetBSD: buf.h,v 1.116 2011/04/27 09:47:25 hannken Exp $ */ /*- * Copyright (c) 1999, 2000, 2007, 2008 The NetBSD Foundation, Inc. @@ -162,7 +162,6 @@ */ #define BC_AGE 0x0001 /* Move to age queue when I/O done. */ #define BC_BUSY 0x0010 /* I/O in progress. */ -#define BC_SCANNED 0x0020 /* Block already pushed during sync */ #define BC_INVAL 0x2000 /* Does not contain valid info. */ #define BC_NOCACHE 0x8000 /* Do not cache block after use. */ #define BC_WANTED 0x0080 /* Process wants this buffer. */ @@ -188,7 +187,7 @@ #define B_DEVPRIVATE 0x0200 /* Device driver private flag. */ #define BUF_FLAGBITS \ -\20\1AGE\3ASYNC\4BAD\5BUSY\6SCANNED\10DELWRI \ +\20\1AGE\3ASYNC\4BAD\5BUSY\10DELWRI \ \12DONE\13COWDONE\15GATHERED\16INVAL\17LOCKED\20NOCACHE \ \23PHYS\24RAW\25READ\32DEVPRIVATE\33VFLUSH
CVS commit: src/distrib/notes/common
Module Name:src Committed By: mspo Date: Wed Apr 27 18:51:14 UTC 2011 Modified Files: src/distrib/notes/common: main Log Message: adding myself to src/distrib/notes/common To generate a diff of this commit: cvs rdiff -u -r1.473 -r1.474 src/distrib/notes/common/main Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/notes/common/main diff -u src/distrib/notes/common/main:1.473 src/distrib/notes/common/main:1.474 --- src/distrib/notes/common/main:1.473 Mon Mar 28 18:48:21 2011 +++ src/distrib/notes/common/main Wed Apr 27 18:51:14 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: main,v 1.473 2011/03/28 18:48:21 para Exp $ +.\ $NetBSD: main,v 1.474 2011/04/27 18:51:14 mspo Exp $ .\ .\ Copyright (c) 1999-2008 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -1337,6 +1337,7 @@ .It Ta J\(:org Sonnenberger Ta Mt jo...@netbsd.org .It Ta Ignatios Souvatzis Ta Mt i...@netbsd.org .It Ta T K Spindler Ta Mt dog...@netbsd.org +.It Ta Matthew Sporleder Ta Mt m...@netbsd.org .It Ta Bill Squier Ta Mt g...@netbsd.org .It Ta Bill Studenmund Ta Mt wrstu...@netbsd.org .It Ta Kevin Sullivan Ta Mt sulli...@netbsd.org
CVS commit: src
Module Name:src Committed By: mbalmer Date: Wed Apr 27 20:05:57 UTC 2011 Modified Files: src/etc/mtree: NetBSD.dist.base src/share/i18n/csmapper: Makefile src/share/i18n/esdb: Makefile Added Files: src/share/i18n/csmapper/CBM: CBMINT%UCS.src Makefile.inc UCS%CBMINT.src charset.pivot.CBM.src mapper.dir.CBM.src src/share/i18n/esdb/CBM: CBMINT.src Makefile.inc esdb.alias.CBM.src esdb.dir.CBM.src Log Message: Add Japan CBM character codes. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/etc/mtree/NetBSD.dist.base cvs rdiff -u -r1.13 -r1.14 src/share/i18n/csmapper/Makefile cvs rdiff -u -r0 -r1.1 src/share/i18n/csmapper/CBM/CBMINT%UCS.src \ src/share/i18n/csmapper/CBM/Makefile.inc \ src/share/i18n/csmapper/CBM/UCS%CBMINT.src \ src/share/i18n/csmapper/CBM/charset.pivot.CBM.src \ src/share/i18n/csmapper/CBM/mapper.dir.CBM.src cvs rdiff -u -r1.14 -r1.15 src/share/i18n/esdb/Makefile cvs rdiff -u -r0 -r1.1 src/share/i18n/esdb/CBM/CBMINT.src \ src/share/i18n/esdb/CBM/Makefile.inc \ src/share/i18n/esdb/CBM/esdb.alias.CBM.src \ src/share/i18n/esdb/CBM/esdb.dir.CBM.src Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/mtree/NetBSD.dist.base diff -u src/etc/mtree/NetBSD.dist.base:1.86 src/etc/mtree/NetBSD.dist.base:1.87 --- src/etc/mtree/NetBSD.dist.base:1.86 Thu Apr 21 14:26:34 2011 +++ src/etc/mtree/NetBSD.dist.base Wed Apr 27 20:05:56 2011 @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist.base,v 1.86 2011/04/21 14:26:34 joerg Exp $ +# $NetBSD: NetBSD.dist.base,v 1.87 2011/04/27 20:05:56 mbalmer Exp $ # @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93 # Do not customize this file as it may be overwritten on upgrades. @@ -376,6 +376,7 @@ ./usr/share/i18n/csmapper/APPLE ./usr/share/i18n/csmapper/AST ./usr/share/i18n/csmapper/BIG5 +./usr/share/i18n/csmapper/CBM ./usr/share/i18n/csmapper/CNS ./usr/share/i18n/csmapper/CP ./usr/share/i18n/csmapper/EBCDIC @@ -393,6 +394,7 @@ ./usr/share/i18n/esdb/APPLE ./usr/share/i18n/esdb/AST ./usr/share/i18n/esdb/BIG5 +./usr/share/i18n/esdb/CBM ./usr/share/i18n/esdb/CP ./usr/share/i18n/esdb/DEC ./usr/share/i18n/esdb/EBCDIC Index: src/share/i18n/csmapper/Makefile diff -u src/share/i18n/csmapper/Makefile:1.13 src/share/i18n/csmapper/Makefile:1.14 --- src/share/i18n/csmapper/Makefile:1.13 Tue Mar 13 16:34:37 2007 +++ src/share/i18n/csmapper/Makefile Wed Apr 27 20:05:56 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $ +# $NetBSD: Makefile,v 1.14 2011/04/27 20:05:56 mbalmer Exp $ NOMAN= @@ -10,7 +10,7 @@ SRCS_mapper.dir+= mapper.dir.src SRCS_charset.pivot+= charset.pivot.src -SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 \ +SUBDIR= APPLE AST BIG5 CBM CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 \ JIS KAZAKH KOI KS MISC TCVN .for i in ${SUBDIR} .if exists(${.CURDIR}/$i/Makefile.inc) Index: src/share/i18n/esdb/Makefile diff -u src/share/i18n/esdb/Makefile:1.14 src/share/i18n/esdb/Makefile:1.15 --- src/share/i18n/esdb/Makefile:1.14 Sun Apr 1 18:52:30 2007 +++ src/share/i18n/esdb/Makefile Wed Apr 27 20:05:56 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $ +# $NetBSD: Makefile,v 1.15 2011/04/27 20:05:56 mbalmer Exp $ NOMAN= @@ -12,7 +12,7 @@ ${_MKTARGET_CREATE} ${TOOL_MKESDB} -o $@ $ -SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 \ +SUBDIR= APPLE AST BIG5 CBM CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 \ ISO-8859 ISO646 KAZAKH KOI MISC TCVN UTF .for i in ${SUBDIR} Added files: Index: src/share/i18n/csmapper/CBM/CBMINT%UCS.src diff -u /dev/null src/share/i18n/csmapper/CBM/CBMINT%UCS.src:1.1 --- /dev/null Wed Apr 27 20:05:57 2011 +++ src/share/i18n/csmapper/CBM/CBMINT%UCS.src Wed Apr 27 20:05:56 2011 @@ -0,0 +1,90 @@ +# $NetBSD: CBMINT%UCS.src,v 1.1 2011/04/27 20:05:56 mbalmer Exp $ + +TYPE ROWCOL +NAME CBMINT/UCS +SRC_ZONE 0x00-0xFF +OOB_MODE ILSEQ +DST_ILSEQ 0xFFFE +DST_UNIT_BITS 16 + +BEGIN_MAP +# +# This mapping data is made from data provided by Japan CBM Corporation, +# Information Systems Div. +# Original notice: +# +#Name: CBM Internatinal Character Codes to Unicode table +#Unicode version: 2.0 +#Table version: 2.00 +#Table format: Format A +#Date: 04/27/2011 +#Authors: Marc Balmer m...@msys.ch +#General notes: none +# +#Format: Three tab-separated columns +#Column #1 is the CBMINT code (in hex) +#Column #2 is the Unicode (in hex as 0x) +#Column #3 is the Unicode name (follows a comment sign, '#') +# +#The entries are in CBMINT order +# +0x00 - 0x7F = 0x - +0xA0 = 0x00A3 +0xA1 = 0x2103 +0xA2 = 0x2109 +0xA3 = 0x03A9 +0xA4 = 0x00B5 +0xA5 = 0x03A3 +0xA6 = 0x03C3 +0xA8 = 0x00A2 +0xA9 = 0x00D7 +0xAA = 0x221E +0xAB = 0x00B1 +0xAC = 0x00F7 +0xAD = 0x03C0 +0xAE =
CVS commit: othersrc/external/bsd/crc
Module Name:othersrc Committed By: agc Date: Thu Apr 28 02:09:00 UTC 2011 Update of /cvsroot/othersrc/external/bsd/crc In directory ivanova.netbsd.org:/tmp/cvs-serv7562 Log Message: initial import of some routines to perform CRC calculations: there is a libcrc(3) with an interface modelled on the sha2(3) API, a crc(1) program (which is the CRC analogy of cksum(1) or sha1(1)), and a gencrctab(1) program which generates the table of CRC values, which is usually included in the source code of a program. the code was originally based on the CRC code in http://www.ross.net/crc/download/crc_v3.txt which is in the public domain, but this has changed drastically since that code was written originally. the original paper is included in the dist/ directory here. Status: Vendor Tag: CROOKS Release Tags: crc-base N othersrc/external/bsd/crc/Makefile N othersrc/external/bsd/crc/dist/crc_v3.txt N othersrc/external/bsd/crc/dist/Makefile N othersrc/external/bsd/crc/dist/crc.c N othersrc/external/bsd/crc/dist/crctable.expected N othersrc/external/bsd/crc/dist/gencrctab.c N othersrc/external/bsd/crc/dist/provenance N othersrc/external/bsd/crc/dist/libcrc.3 N othersrc/external/bsd/crc/dist/crc.1 N othersrc/external/bsd/crc/dist/libcrc.h N othersrc/external/bsd/crc/dist/libcrc.c N othersrc/external/bsd/crc/libcrc/Makefile N othersrc/external/bsd/crc/libcrc/shlib_version N othersrc/external/bsd/crc/libcrc/crcmodel.pico N othersrc/external/bsd/crc/libcrc/crcmodel.po N othersrc/external/bsd/crc/crc/Makefile N othersrc/external/bsd/crc/gencrctab/Makefile N othersrc/external/bsd/crc/gencrctab/crctab.h No conflicts created by this import
CVS commit: othersrc/external/bsd/crc/libcrc
Module Name:othersrc Committed By: agc Date: Thu Apr 28 02:10:34 UTC 2011 Removed Files: othersrc/external/bsd/crc/libcrc: crcmodel.pico crcmodel.po Log Message: get rid of files which should never have been committed To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r0 othersrc/external/bsd/crc/libcrc/crcmodel.pico \ othersrc/external/bsd/crc/libcrc/crcmodel.po Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.