CVS commit: src/sys/uvm

2011-01-26 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Wed Jan 26 08:49:49 UTC 2011

Modified Files:
src/sys/uvm: uvm_pglist.c

Log Message:
Introducing inner loop prevent us from exiting from the original loop.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/uvm/uvm_pglist.c

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



CVS commit: [matt-nb5-pq3] src/sys/arch/powerpc/include

2011-01-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 26 08:51:13 UTC 2011

Modified Files:
src/sys/arch/powerpc/include [matt-nb5-pq3]: asm.h

Log Message:
Init CI_CURPCB too.


To generate a diff of this commit:
cvs rdiff -u -r1.26.26.2 -r1.26.26.3 src/sys/arch/powerpc/include/asm.h

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



CVS commit: [matt-nb5-pq3] src/sys/arch

2011-01-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 26 08:52:27 UTC 2011

Modified Files:
src/sys/arch/macppc/macppc [matt-nb5-pq3]: rbus_machdep.c
src/sys/arch/powerpc/include/oea [matt-nb5-pq3]: bat.h
src/sys/arch/powerpc/oea [matt-nb5-pq3]: genassym.cf oea_machdep.c
ofw_rascons.c pmap.c
src/sys/arch/powerpc/powerpc [matt-nb5-pq3]: trap_subr.S

Log Message:
Change battable to have a granularity of 8MB.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.42.1 src/sys/arch/macppc/macppc/rbus_machdep.c
cvs rdiff -u -r1.12 -r1.12.22.1 src/sys/arch/powerpc/include/oea/bat.h
cvs rdiff -u -r1.14.26.2 -r1.14.26.3 src/sys/arch/powerpc/oea/genassym.cf
cvs rdiff -u -r1.46.18.2 -r1.46.18.3 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -u -r1.2 -r1.2.26.1 src/sys/arch/powerpc/oea/ofw_rascons.c
cvs rdiff -u -r1.61.12.2 -r1.61.12.3 src/sys/arch/powerpc/oea/pmap.c
cvs rdiff -u -r1.65.16.2 -r1.65.16.3 src/sys/arch/powerpc/powerpc/trap_subr.S

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



CVS commit: src/share/man/man9

2011-01-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan 26 09:53:20 UTC 2011

Modified Files:
src/share/man/man9: KASSERT.9

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/KASSERT.9

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



CVS commit: src/crypto/dist/heimdal/kuser

2011-01-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan 26 09:56:52 UTC 2011

Modified Files:
src/crypto/dist/heimdal/kuser: kdestroy.1

Log Message:
Fix typo in Nd. From Ryo HAYASAKA in PR 44462.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/crypto/dist/heimdal/kuser/kdestroy.1

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



CVS commit: src/distrib/utils/sysinst

2011-01-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 26 10:58:20 UTC 2011

Modified Files:
src/distrib/utils/sysinst: defs.h main.c
src/distrib/utils/sysinst/arch/emips: md.h

Log Message:
make this build on non-emips again


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/distrib/utils/sysinst/defs.h
cvs rdiff -u -r1.55 -r1.56 src/distrib/utils/sysinst/main.c
cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/sysinst/arch/emips/md.h

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



CVS commit: src/share/man

2011-01-26 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Wed Jan 26 11:25:51 UTC 2011

Modified Files:
src/share/man/man4: Makefile
src/share/man/man8: Makefile
Added Files:
src/share/man/man4/man4.sandpoint: Makefile satmgr.4
src/share/man/man8/man8.sandpoint: Makefile altboot.8

Log Message:
introduce sandpoint satmgr(4) and altboot(8) man page entries.


To generate a diff of this commit:
cvs rdiff -u -r1.546 -r1.547 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.sandpoint/Makefile \
src/share/man/man4/man4.sandpoint/satmgr.4
cvs rdiff -u -r1.98 -r1.99 src/share/man/man8/Makefile
cvs rdiff -u -r0 -r1.3 src/share/man/man8/man8.sandpoint/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man8/man8.sandpoint/altboot.8

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



CVS commit: src/sys/dev

2011-01-26 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Wed Jan 26 11:29:04 UTC 2011

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
add sandpoint satmgr device node entry.


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/sys/dev/DEVNAMES

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



CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-01-26 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jan 26 13:13:25 UTC 2011

Modified Files:
src/sys/arch/sandpoint/stand/altboot: main.c

Log Message:
bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sandpoint/stand/altboot/main.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/dreamcast/dev

2011-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jan 26 13:14:07 UTC 2011

Modified Files:
src/sys/arch/dreamcast/dev: pvr.c

Log Message:
Add proper prefix to structures.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/dreamcast/dev/pvr.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/sandpoint/stand/altboot

2011-01-26 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Wed Jan 26 13:36:49 UTC 2011

Modified Files:
src/sys/arch/sandpoint/stand/altboot: Makefile main.c

Log Message:
one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sandpoint/stand/altboot/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sandpoint/stand/altboot/main.c

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



CVS commit: src/lib/librumpclient

2011-01-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 26 14:42:41 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
plug fd leak in reconnect code


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/librumpclient/rumpclient.c

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



CVS commit: src

2011-01-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 26 15:00:57 UTC 2011

Modified Files:
src/distrib/sets/lists/base: mi
src/etc/mtree: NetBSD.dist.base

Log Message:
add sandpoint dirs for man chapter 4, they seem to be required now


To generate a diff of this commit:
cvs rdiff -u -r1.917 -r1.918 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.73 -r1.74 src/etc/mtree/NetBSD.dist.base

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-01-26 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Wed Jan 26 16:31:00 UTC 2011

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

Log Message:
Fix build of malta/sbmips.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/mips/mips/cache.c

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



CVS commit: src/distrib/sets/lists/man

2011-01-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 26 16:53:18 UTC 2011

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
add entries required by sandpoint


To generate a diff of this commit:
cvs rdiff -u -r1.1281 -r1.1282 src/distrib/sets/lists/man/mi

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



CVS commit: src/include/ssp

2011-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 18:07:44 UTC 2011

Modified Files:
src/include/ssp: unistd.h

Log Message:
fix readlink prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/include/ssp/unistd.h

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



CVS commit: src/include/ssp

2011-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 18:08:00 UTC 2011

Modified Files:
src/include/ssp: ssp.h

Log Message:
provide a way to override the weak name.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/include/ssp/ssp.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-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 18:11:35 UTC 2011

Modified Files:
src/lib/libpthread: pthread_cancelstub.c

Log Message:
Moving the ssp check inside the source code does not work properly because
the compiler loses information about the size of the object. So instead of
the hacky #define mess we did before, add a way to inject our function between
the user call and the system call.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libpthread/pthread_cancelstub.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-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:37:06 UTC 2011

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

Log Message:
Add RDC Semiconductor R6040 10/100 Ethernet


To generate a diff of this commit:
cvs rdiff -u -r1.1055 -r1.1056 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-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:37:53 UTC 2011

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

Log Message:
Regen: Add RDC Semiconductor R6040 10/100 Ethernet


To generate a diff of this commit:
cvs rdiff -u -r1.1052 -r1.1053 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1051 -r1.1052 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/sys/dev/mii

2011-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:39:04 UTC 2011

Modified Files:
src/sys/dev/mii: miidevs

Log Message:
Add RDC Semiconductor R6040 10/100 integrated PHY


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/mii/miidevs

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



CVS commit: src/sys/dev/mii

2011-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:39:25 UTC 2011

Modified Files:
src/sys/dev/mii: miidevs.h miidevs_data.h

Log Message:
Regen: Add RDC Semiconductor R6040 10/100 integrated PHY


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/mii/miidevs.h
cvs rdiff -u -r1.89 -r1.90 src/sys/dev/mii/miidevs_data.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/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jan 26 18:43:30 UTC 2011

Modified Files:
src/sys/arch/sh3/sh3: db_interface.c

Log Message:
BRCR and BAMRA have different format in sh3 and sh4, so there's no
point in using SH_() wrapper to refer to them in code that is already
model-specific.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sh3/sh3/db_interface.c

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



CVS commit: src

2011-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:48:13 UTC 2011

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
src/sys/arch/i386/conf: GENERIC
src/sys/dev/mii: files.mii
src/sys/dev/pci: files.pci
Added Files:
src/share/man/man4: rdcphy.4 vte.4
src/sys/dev/mii: rdcphy.c rdcphyreg.h
src/sys/dev/pci: if_vte.c if_vtereg.h if_vtevar.h

Log Message:
Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


To generate a diff of this commit:
cvs rdiff -u -r1.1282 -r1.1283 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.547 -r1.548 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/rdcphy.4 src/share/man/man4/vte.4
cvs rdiff -u -r1.1008 -r1.1009 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/mii/files.mii
cvs rdiff -u -r0 -r1.1 src/sys/dev/mii/rdcphy.c src/sys/dev/mii/rdcphyreg.h
cvs rdiff -u -r1.336 -r1.337 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_vte.c src/sys/dev/pci/if_vtereg.h \
src/sys/dev/pci/if_vtevar.h

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



CVS commit: src/lib/librumphijack

2011-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 18:48:32 UTC 2011

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
make SSP friendly


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/librumphijack/hijack.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

2011-01-26 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan 26 18:48:51 UTC 2011

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/sys/dev/DEVNAMES

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-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 18:48:58 UTC 2011

Modified Files:
src/lib/libpthread: pthread_cancelstub.c

Log Message:
make the code more re-usable


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libpthread/pthread_cancelstub.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/sh3/include

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jan 26 19:07:43 UTC 2011

Modified Files:
src/sys/arch/sh3/include: psl.h

Log Message:
Add sh4 PSL_FD - FPU disable bit.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sh3/include/psl.h

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



CVS commit: src/sys/kern

2011-01-26 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Wed Jan 26 19:15:13 UTC 2011

Modified Files:
src/sys/kern: subr_time.c

Log Message:
fix and cleanup for tvtohz():
-assume (KASSERT) that the timeval given is normalized, and remove
 some partial fixup which I don't see what it is good for
 (I'm ready to back that out if someone tells a reason)
-catch overflows due to conversion of time_t (from tv_sec) to
 integer -- this function doesn't do 64-bit arithmetics (which makes
 sense because relative times which don't fit into 32 bits can be
 considered nonsense here), and before a huge tv_sec could lead to
 a zero hz result, violating the caller's assumptions (in particular
 trigger a diagnostic panic in abstimeout2timo())


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_time.c

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



CVS commit: src/sys/opencrypto

2011-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 26 19:52:16 UTC 2011

Modified Files:
src/sys/opencrypto: crypto.c

Log Message:
PR/44470: Dr. Wolfgang Stukenbrock: opencrypto kernel implementation may pass
outdated argument to worker


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/opencrypto/crypto.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/i386/stand/lib

2011-01-26 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Wed Jan 26 20:59:49 UTC 2011

Modified Files:
src/sys/arch/i386/stand/lib: biosdisk.c

Log Message:
Attempt to correct two regressions.
 - avoid Virtualbox's BIOS panicing on 64-bit LBAs
 - MBR-without-disklabel was ignored


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/i386/stand/lib/biosdisk.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/powerpc/stand/mkbootimage

2011-01-26 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jan 26 21:35:14 UTC 2011

Modified Files:
src/sys/arch/powerpc/stand/mkbootimage: Makefile mkbootimage.c

Log Message:
Fix tools build on !NetBSD. Fix printfs to use correct types.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/stand/mkbootimage/Makefile
cvs rdiff -u -r1.13 -r1.14 \
src/sys/arch/powerpc/stand/mkbootimage/mkbootimage.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/amd64/amd64

2011-01-26 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jan 26 21:44:32 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c

Log Message:
Do mask the upper 16 bits, when sanity checking fs/gs register values.
Fix my own PR/43842.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/amd64/amd64/netbsd32_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/net

2011-01-26 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jan 26 22:00:45 UTC 2011

Modified Files:
src/lib/libc/net: nsdispatch.3

Log Message:
Add section 3 for getpwuid_r xref.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/net/nsdispatch.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/sh3/include

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jan 26 23:26:37 UTC 2011

Modified Files:
src/sys/arch/sh3/include: proc.h

Log Message:
Add MDP_SSTEP flag.  Not used yet.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/include/proc.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/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jan 26 23:29:17 UTC 2011

Modified Files:
src/sys/arch/sh3/sh3: sh3_machdep.c

Log Message:
Clear MDP_SSTEP in setregs().


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/sh3/sh3/sh3_machdep.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/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 27 00:19:27 UTC 2011

Modified Files:
src/sys/arch/sh3/sh3: core_machdep.c

Log Message:
Include only headers that are actually used.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sh3/sh3/core_machdep.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/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 27 01:01:56 UTC 2011

Modified Files:
src/sys/arch/sh3/sh3: exception.c

Log Message:
general_exception: when printing current mode in the panic message,
test "usermode" directly instead of testing for EXP_USER bit.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sh3/sh3/exception.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/sandpoint/stand/altboot

2011-01-26 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Thu Jan 27 04:32:49 UTC 2011

Modified Files:
src/sys/arch/sandpoint/stand/altboot: Makefile

Log Message:
arrange vers.c generation to honour MKREPRO for global build control.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sandpoint/stand/altboot/Makefile

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



CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-01-26 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Thu Jan 27 04:54:40 UTC 2011

Modified Files:
src/sys/arch/sandpoint/stand/altboot: Makefile

Log Message:
remove an excess echo line accidentally creeped in.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sandpoint/stand/altboot/Makefile

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



CVS commit: src/sys/arch/sparc/sparc

2011-01-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 27 05:31:14 UTC 2011

Modified Files:
src/sys/arch/sparc/sparc: cpu.c cpuvar.h intr.c

Log Message:
to quote a new comment:

 * There's a deadlock potential between multiple CPUs trying
 * to xcall() at the same time, and the thread that loses the
 * race to get xpmsg_lock is at an IPL above the incoming IPI
 * IPL level, so it sits around waiting to take the lock while
 * the other CPU is waiting for this CPU to handle the IPI and
 * mark it as completed.
 *
 * If we fail to get the mutex, and we're at high enough IPL,
 * call xcallintr() if there is a valid msg.tag.

this seems to fix the xcall() failed to ping cpus problem.
idea from martin, tested by macallan and myself.


To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/sparc/sparc/intr.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/sparc/sparc

2011-01-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 27 06:24:59 UTC 2011

Modified Files:
src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf intr.c locore.s
timer_sun4m.c

Log Message:
consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU
soft/hard counters.  beyond the extra info, it seems to help avoid some
of these counters getting corrupted due to unlocked multiple accesses.

adjust the xcallintr() from xcall() hack so that we don't count these
events as interrupts.  align the existing evcnt name to count this.


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/sparc/sparc/genassym.cf
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/sparc/sparc/intr.c
cvs rdiff -u -r1.259 -r1.260 src/sys/arch/sparc/sparc/locore.s
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sparc/sparc/timer_sun4m.c

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