CVS commit: src/lib/libc/locale

2011-03-16 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Wed Mar 16 09:32:12 UTC 2011

Modified Files:
src/lib/libc/locale: mbstowcs.3 wcstombs.3

Log Message:
Crosslink wcstombs(3) and mbstowcs(3).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/locale/mbstowcs.3
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/locale/wcstombs.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/conf

2011-03-16 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Wed Mar 16 11:35:37 UTC 2011

Modified Files:
src/sys/arch/x86/conf: files.x86

Log Message:
sys/arch/x86/x86/iclockmod.c has been removed.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/x86/conf/files.x86

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-03-16 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Mar 16 11:44:01 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
Convert hashtab to Elf_Symindx type, and use it directly to get symbol
count. Remove now unused GETVECWORDn macro.

This is needed to make it work on alpha which use non-standard 64bit
values for the symbol hash table section, unlike all other archs.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpthread

2011-03-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar 16 12:39:44 UTC 2011

Modified Files:
src/lib/libpthread: pthread_int.h

Log Message:
If TLS support is present, use it for pthread__self(). The
initialisation order is correct in this case as _lwp_setprivate has been
called already by ld.elf_so for dynamic programs or _libc_init for
statically linked ones.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/lib/libpthread/pthread_int.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/hpcmips/include

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 13:08:22 UTC 2011

Modified Files:
src/sys/arch/hpcmips/include: kloader.h

Log Message:
Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcmips/include/kloader.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/hpcmips

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 13:23:42 UTC 2011

Modified Files:
src/sys/arch/hpcmips/conf: files.hpcmips
src/sys/arch/hpcmips/hpcmips: hpcapm_machdep.c
src/sys/arch/hpcmips/vr: vr.c vripvar.h
Added Files:
src/sys/arch/hpcmips/vr: vrip_spl.S

Log Message:
Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU.  Compile test only.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/hpcmips/conf/files.hpcmips
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/hpcmips/vr/vr.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/hpcmips/vr/vrip_spl.S
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hpcmips/vr/vripvar.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 13:24:43 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: vrip.c

Log Message:
Avoid possible future device_t/softc confusion.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hpcmips/vr/vrip.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 13:26:55 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: vr.c

Log Message:
vr_intr_handler[] takes status for hardclock(9), not ipending.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/hpcmips/vr/vr.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 13:38:35 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: vr.c

Log Message:
Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.

I wonder if gcc could warn such botch in C99 array or member initializers...


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/hpcmips/vr/vr.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:23:19 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: rtc.c

Log Message:
Fix signedness issue triggered by 64 bit time_t.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/hpcmips/vr/rtc.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:28:39 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: rtc.c

Log Message:
KNF and cosmetics.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/hpcmips/vr/rtc.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/hpcmips/tx

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:39:26 UTC 2011

Modified Files:
src/sys/arch/hpcmips/tx: tx39clock.c

Log Message:
Some KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hpcmips/tx/tx39clock.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/hpcmips

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:43:37 UTC 2011

Modified Files:
src/sys/arch/hpcmips/hpcmips: clock.c
src/sys/arch/hpcmips/include: sysconf.h
src/sys/arch/hpcmips/tx: tx39clock.c
src/sys/arch/hpcmips/vr: rtc.c

Log Message:
Fix device_t/softc confusion.
(currently harmless since they are not split yet)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/hpcmips/hpcmips/clock.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hpcmips/include/sysconf.h
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/hpcmips/tx/tx39clock.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/hpcmips/vr/rtc.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/hpcmips/vr

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:47:34 UTC 2011

Modified Files:
src/sys/arch/hpcmips/vr: rtc.c

Log Message:
Split device_t/softc. Tested on GXemul.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hpcmips/vr/rtc.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/mips/mips

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 14:54:31 UTC 2011

Modified Files:
src/sys/arch/mips/mips: copy.S

Log Message:
Fix possible load delay hazard on R3000.
(probably no one has set breakpoint on R3000?)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/mips/copy.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/mips/mips

2011-03-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 16 15:14:08 UTC 2011

Modified Files:
src/sys/arch/mips/mips: trap.c

Log Message:
Set R_CAUSE into trapframe in curlwp before calling mips_fpu_trap()
for workaround PR port-mips/44639.

mipsX_user_gen_exception() in mipsX_subr.S (which may call
mips_fpu_trap()) doesn't set R_CAUSE in curlwp trapframe, while
mips1_use_intr() in locore_mips1.S (that may call mips_fpu_intr()) does.

All tests in tests/lib/libc/ieeefp on MIPS3 should pass now.


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 src/sys/arch/mips/mips/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sup/source

2011-03-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Mar 16 20:16:00 UTC 2011

Modified Files:
src/usr.sbin/sup/source: libc.h

Log Message:
provide unconst for the havenots


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sup/source/libc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sup/source

2011-03-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Mar 16 20:17:00 UTC 2011

Modified Files:
src/usr.sbin/sup/source: supfilesrv.c

Log Message:
- safer way to count kids
- if we are really bombarded with connections, don't bother to fork() and
  converse.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sup/source/supfilesrv.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/evbppc/conf

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 21:10:35 UTC 2011

Modified Files:
src/sys/arch/evbppc/conf: RB800

Log Message:
Add alc device.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbppc/conf/RB800

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbppc/conf

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 21:11:13 UTC 2011

Added Files:
src/sys/arch/evbppc/conf: P2020RDB

Log Message:
First pass at a P2020RDB configuration.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbppc/conf/P2020RDB

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbppc/conf

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 21:12:16 UTC 2011

Modified Files:
src/sys/arch/evbppc/conf: PMPPC

Log Message:
Enable COMPAT_50


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbppc/conf/PMPPC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/powerpc

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 21:15:30 UTC 2011

Modified Files:
src/sys/arch/powerpc/powerpc: compat_13_machdep.c compat_16_machdep.c
core_machdep.c darwin_machdep.c mach_machdep.c powerpc_machdep.c
process_machdep.c sig_machdep.c syscall.c trap.c

Log Message:
Use l->l_md.md_utf in preference to trapframe(l).  This shrink the kernel
just a bit in size.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/powerpc/powerpc/compat_13_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/powerpc/compat_16_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/powerpc/core_machdep.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/powerpc/darwin_machdep.c \
src/sys/arch/powerpc/powerpc/process_machdep.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/powerpc/powerpc/mach_machdep.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/powerpc/powerpc/powerpc_machdep.c \
src/sys/arch/powerpc/powerpc/syscall.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/powerpc/powerpc/sig_machdep.c
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/powerpc/powerpc/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netbt

2011-03-16 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed Mar 16 21:35:30 UTC 2011

Modified Files:
src/sys/netbt: bluetooth.h

Log Message:
use C99 style for variadic macro arguments


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/netbt/bluetooth.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2011-03-16 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed Mar 16 21:36:55 UTC 2011

Modified Files:
src/sys/dev/usb: ubt.c uhso.c

Log Message:
use C99 style for variadic macro arguments


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/usb/ubt.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/uhso.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/bluetooth

2011-03-16 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed Mar 16 21:38:54 UTC 2011

Modified Files:
src/sys/dev/bluetooth: btsco.c

Log Message:
use C99 style for variadic macro arguments


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/bluetooth/btsco.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 23:19:32 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Freescale P2020/P2010 device ids


To generate a diff of this commit:
cvs rdiff -u -r1.1067 -r1.1068 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Mar 16 23:20:02 UTC 2011

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1064 -r1.1065 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1063 -r1.1064 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpthread

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Mar 17 00:43:48 UTC 2011

Modified Files:
src/lib/libpthread: pthread_int.h

Log Message:
Add __HAVE___LWP_GETTCB_FAST support (for mips and powerpc).


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/lib/libpthread/pthread_int.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpthread_dbg

2011-03-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Mar 17 01:01:15 UTC 2011

Modified Files:
src/lib/libpthread_dbg: Makefile

Log Message:
Since this is use pthread_int.h, it needs __LIBPTHREAD_SOURCE__ to be defined.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread_dbg/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Mar 17 02:35:29 UTC 2011

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/man: mi
src/usr.sbin: Makefile
Removed Files:
src/usr.sbin/chrtbl: Makefile chrtbl.8 chrtbl.c ctypeio.c ctypeio.h

Log Message:
Remove chrtbl(8). Since NetBSD 1.6, the rune type based file format for
LC_CTYPE has been used.


To generate a diff of this commit:
cvs rdiff -u -r1.925 -r1.926 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1599 -r1.1600 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1301 -r1.1302 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.253 -r1.254 src/usr.sbin/Makefile
cvs rdiff -u -r1.9 -r0 src/usr.sbin/chrtbl/Makefile \
src/usr.sbin/chrtbl/chrtbl.8
cvs rdiff -u -r1.13 -r0 src/usr.sbin/chrtbl/chrtbl.c
cvs rdiff -u -r1.5 -r0 src/usr.sbin/chrtbl/ctypeio.c
cvs rdiff -u -r1.2 -r0 src/usr.sbin/chrtbl/ctypeio.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: othersrc/external/bsd/rs/dist

2011-03-16 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Thu Mar 17 03:21:11 UTC 2011

Modified Files:
othersrc/external/bsd/rs/dist: main.c rs.1

Log Message:
rework the data/parity bytes command line specification to be more natural,
especially for this area of erasure codes.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/rs/dist/main.c
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/rs/dist/rs.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [rmind-uvmplock] src/sys/arch

2011-03-16 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Thu Mar 17 04:46:29 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64 [rmind-uvmplock]: cpufunc.S genassym.cf
vector.S
src/sys/arch/i386/i386 [rmind-uvmplock]: genassym.cf i386func.S
vector.S
src/sys/arch/x86/include [rmind-uvmplock]: pmap.h
src/sys/arch/x86/x86 [rmind-uvmplock]: cpu.c pmap.c pmap_tlb.c

Log Message:
- Fix tlbflushg() to behave like tlbflush(), if page global extension (PGE)
  is not (yet) enabled.  This fixes the issue of stale TLB entry, experienced
  early on boot, when PGE is not yet set on primary CPU.
- Rewrite i386/amd64 TLB interrupt handlers in C (only stubs are in assembly),
  which simplifies and unifies (under x86) code, plus fixes few bugs.
- cpu_attach: remove assignment to cpus_running, as primary CPU might not be
  attached first, which causes reset (and thus missed secondary CPUs).


To generate a diff of this commit:
cvs rdiff -u -r1.16.4.1 -r1.16.4.2 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -u -r1.43.4.3 -r1.43.4.4 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.33.2.3 -r1.33.2.4 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.85.2.3 -r1.85.2.4 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -u -r1.15 -r1.15.20.1 src/sys/arch/i386/i386/i386func.S
cvs rdiff -u -r1.53.2.3 -r1.53.2.4 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.29.2.8 -r1.29.2.9 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.69.2.3 -r1.69.2.4 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.105.2.12 -r1.105.2.13 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/arch/x86/x86/pmap_tlb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.