CVS commit: src/doc

2014-04-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Apr 19 06:20:51 UTC 2014

Modified Files:
src/doc: CHANGES

Log Message:
Note recent hp300 changes for HP9000/425e.


To generate a diff of this commit:
cvs rdiff -u -r1.1914 -r1.1915 src/doc/CHANGES

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



CVS commit: src/sys/arch/hp300/stand/common

2014-04-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Apr 19 06:04:59 UTC 2014

Modified Files:
src/sys/arch/hp300/stand/common: clock.c samachdep.h

Log Message:
Add RTC support for HP9000/425e to bootloader too.

Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF

Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hp300/stand/common/clock.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hp300/stand/common/samachdep.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/hp300

2014-04-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Apr 19 05:37:54 UTC 2014

Modified Files:
src/sys/arch/hp300/conf: GENERIC INSTALL files.hp300
src/sys/arch/hp300/dev: frodo.c frodoreg.h rtc.c
Added Files:
src/sys/arch/hp300/dev: mcclock_frodo.c

Log Message:
Add proper RealTime Clock support for HP9000/425e.

As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/arch/hp300/conf/GENERIC
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/hp300/conf/INSTALL
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/hp300/conf/files.hp300
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hp300/dev/frodo.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hp300/dev/frodoreg.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/hp300/dev/mcclock_frodo.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hp300/dev/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/amiga/stand/bootblock/boot

2014-04-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Apr 19 00:55:37 UTC 2014

Modified Files:
src/sys/arch/amiga/stand/bootblock/boot: Makefile

Log Message:
No need to use annoying HAVE_GCC to handle gcc48 m68k behavior chnages.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amiga/stand/bootblock/boot/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/arm/include

2014-04-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Apr 19 00:33:24 UTC 2014

Modified Files:
src/sys/arch/arm/include: cpufunc.h cpufunc_proto.h

Log Message:
Move xscale cpu_cpwait back from cpufunc_proto.ht to cpufunc.h


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/arm/include/cpufunc.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/include/cpufunc_proto.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/amiga/stand/bootblock/boot

2014-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 19 00:04:12 UTC 2014

Modified Files:
src/sys/arch/amiga/stand/bootblock/boot: Makefile

Log Message:
unbreak gcc4.5


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/amiga/stand/bootblock/boot/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/arm/arm

2014-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 18 23:50:59 UTC 2014

Modified Files:
src/sys/arch/arm/arm: cpufunc.c

Log Message:
Include cpufunc_proto.h before locore.h so that we define cpu_cpwait first.
XXX: this is a mess.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/arm/arm/cpufunc.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

2014-04-18 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Fri Apr 18 22:25:58 UTC 2014

Modified Files:
src/sys/dev/pci: ubsec.c ubsecvar.h

Log Message:
Rewrite the dmamap handling to allocate and cache the dmamaps beforehand.
Calling bus_dmamap_create/destroy is no longer possible in interrupt context.
Move the dmamaps to the end of struct ubsec_q so the rest of the struct
can be cleared with one call to memset().

As a bonus we get a 25% increase in throughput encrypting 8K blocks.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/ubsec.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/ubsecvar.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/ic

2014-04-18 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Apr 18 22:02:44 UTC 2014

Modified Files:
src/sys/dev/ic: vga_raster.c

Log Message:
more unused variables.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/ic/vga_raster.c

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



CVS commit: src/usr.bin/xlint/lint1

2014-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 18 21:54:53 UTC 2014

Modified Files:
src/usr.bin/xlint/lint1: cgram.y

Log Message:
add more places where attribute is valid.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/usr.bin/xlint/lint1/cgram.y

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



CVS commit: src/usr.bin/xlint/lint1

2014-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 18 21:53:44 UTC 2014

Modified Files:
src/usr.bin/xlint/lint1: main1.c

Log Message:
provide a poor man's fmemopen()


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/xlint/lint1/main1.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/ic

2014-04-18 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Apr 18 21:45:22 UTC 2014

Modified Files:
src/sys/dev/ic: vga_raster.c

Log Message:
include VGA kernel options


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ic/vga_raster.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/ic

2014-04-18 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Apr 18 21:44:43 UTC 2014

Modified Files:
src/sys/dev/ic: vga_raster.c

Log Message:
handle unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/vga_raster.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/hppa/hppa

2014-04-18 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Apr 18 18:32:00 UTC 2014

Modified Files:
src/sys/arch/hppa/hppa: machdep.c

Log Message:
Explicitly clear p_md.md_flags for newer binaries. Fixes PR port-hppa/48755.
OK: skrll


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

2014-04-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Apr 18 15:45:46 UTC 2014

Modified Files:
src/sys/arch/arm/include: types.h

Log Message:
ARMv6+ platforms no longer have strict alignment requirements.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/include/types.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/x86/x86

2014-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 18 15:00:37 UTC 2014

Modified Files:
src/sys/arch/x86/x86: est.c

Log Message:
more conservative length check.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/x86/est.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/arm/samsung

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:32:49 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_reg.h exynos_wdt.c
Added Files:
src/sys/arch/arm/samsung: exynos_wdt_reg.h

Log Message:
Fix attachment of wdt to also use the bus_space_handle

While here, move the registers outside the global register file to a separate
wdt_reg.h file.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/samsung/exynos_reg.h \
src/sys/arch/arm/samsung/exynos_wdt.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_wdt_reg.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/arm/samsung

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:18:33 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_sscom.c

Log Message:
Fix interrupt enable/disable and clearning bits

what was i thinking...


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_sscom.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/evbarm/odroid

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 14:17:12 UTC 2014

Modified Files:
src/sys/arch/evbarm/odroid: odroid_machdep.c

Log Message:
Oops, i forgot to commit this patch on the `teaching sscom to use attach with
bus_space_handle_t'


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/odroid/odroid_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/kern

2014-04-18 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Apr 18 11:44:31 UTC 2014

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

Log Message:
'error' is not set on failure. This is a true bug: everything is freed
and unlocked while zero is returned. Since there's no error, execve_runproc()
will get called and will try to use those freed things.

PS: This bug was here before uebayasi@'s changes


To generate a diff of this commit:
cvs rdiff -u -r1.402 -r1.403 src/sys/kern/kern_exec.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/arm/samsung

2014-04-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Apr 18 11:37:17 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: sscom.c

Log Message:
Second handle to bus_space_read_* is the bus_space_handle, not a repeat of the
bus_space_tag


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/sscom.c

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



CVS commit: src/sys/kern

2014-04-18 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Apr 18 06:59:32 UTC 2014

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

Log Message:
calcargs: Correct the size of "argc" in the stack size calculation.

(The old code has worked because it is compensated by wrong size calculation
of "auxinfo" (multiplied by sizeof(void *)).)


To generate a diff of this commit:
cvs rdiff -u -r1.401 -r1.402 src/sys/kern/kern_exec.c

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