CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2012-12-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 30 20:16:59 UTC 2012 Modified Files: src/external/gpl3/gcc/dist/gcc/config/i386: i386.c Log Message: No need to check both TARGET_64BIT and ix86_preferred_stack_boundary = 64, if the former is true the latter is also true.

CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2012-12-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 30 16:13:57 UTC 2012 Modified Files: src/external/gpl3/gcc/dist/gcc/config/i386: driver-i386.c Log Message: If -march=native is specified, only enable AVX if the processor supports it and the OS has enabled XGETBV for

Re: CVS commit: src/sys/arch/arm/arm

2012-12-23 Thread David Laight
. branch to unlikely cases instead of conditionally skipping them. Or more for 'ldm' and 'stm' - esp. I think on strongarm! Conditional execution might also be a full pipeline stall, rather than a branch which is likely (hopefully) to be predicted correctly. David -- David Laight: da

CVS commit: src/bin/sh

2012-12-22 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 22 20:15:22 UTC 2012 Modified Files: src/bin/sh: expand.c expand.h Log Message: Fix the expansion of $(foo-$bar} so that IFS isn't applied when expanding $bar. Noted by Greg Troxel on tech-userlevel running some 'git' tests.

CVS commit: src/bin/sh

2012-12-22 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 22 20:15:22 UTC 2012 Modified Files: src/bin/sh: expand.c expand.h Log Message: Fix the expansion of $(foo-$bar} so that IFS isn't applied when expanding $bar. Noted by Greg Troxel on tech-userlevel running some 'git' tests.

Re: CVS commit: src/libexec/ld.elf_so

2012-12-16 Thread David Laight
On Sun, Dec 16, 2012 at 11:15:21AM +, David Laight wrote: Module Name: src Committed By: dsl Date: Sun Dec 16 11:15:21 UTC 2012 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: You need to pass 0 (not -1) to lwp_park() if you don't also want to do

CVS commit: src/libexec/ld.elf_so

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 11:15:21 UTC 2012 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: You need to pass 0 (not -1) to lwp_park() if you don't also want to do an unpark. Clearly this code path was never tested! Needs pullup to

CVS commit: src/sys/kern

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 22:21:03 UTC 2012 Modified Files: src/sys/kern: kern_lwp.c Log Message: The lwp_id in a process are supposed to be non-zero and unique. This stops being true once a process has allocated (and freed) 2^32 lwps. (I've not

CVS commit: src/libexec/ld.elf_so

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 23:00:47 UTC 2012 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: Fix the other lwp_park() to pass 0 for the 'unpark' lwp. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161

CVS commit: src/libexec/ld.elf_so

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 11:15:21 UTC 2012 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: You need to pass 0 (not -1) to lwp_park() if you don't also want to do an unpark. Clearly this code path was never tested! Needs pullup to

CVS commit: src/sys/kern

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 22:21:03 UTC 2012 Modified Files: src/sys/kern: kern_lwp.c Log Message: The lwp_id in a process are supposed to be non-zero and unique. This stops being true once a process has allocated (and freed) 2^32 lwps. (I've not

CVS commit: src/libexec/ld.elf_so

2012-12-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 16 23:00:47 UTC 2012 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: Fix the other lwp_park() to pass 0 for the 'unpark' lwp. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161

CVS commit: src/sys/arch/amd64/include

2012-12-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 15 21:50:43 UTC 2012 Modified Files: src/sys/arch/amd64/include: fpu.h Log Message: Add the offsets and comments for the members of 'struct fxsave64. Spilt the 'fx_unused2' field into its reserved and available halves. The

CVS commit: src/sys/arch/amd64/include

2012-12-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 15 22:39:04 UTC 2012 Modified Files: src/sys/arch/amd64/include: mcontext.h Log Message: Remove the incorrect comment about a (now deleted) pad field added to make __fpregs be 16-byte aligned within ucontext_t. I doubt that

CVS commit: src/sys/arch/amd64/include

2012-12-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 15 21:50:43 UTC 2012 Modified Files: src/sys/arch/amd64/include: fpu.h Log Message: Add the offsets and comments for the members of 'struct fxsave64. Spilt the 'fx_unused2' field into its reserved and available halves. The

CVS commit: src/sys/arch/amd64/include

2012-12-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 15 22:39:04 UTC 2012 Modified Files: src/sys/arch/amd64/include: mcontext.h Log Message: Remove the incorrect comment about a (now deleted) pad field added to make __fpregs be 16-byte aligned within ucontext_t. I doubt that

Re: CVS commit: src/usr.sbin/envstat

2012-12-14 Thread David Laight
are run as shell builtins - and that will always be a small subset of programs. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/arm/vfp

2012-12-10 Thread David Laight
' statements, you might want to use the __attribute__((always_inline)). I've seen (older) gcc fail to inline some one line functions unless they are marked that way. Also worth checking they need to be volatile. If they only change memory/registers that isn't ususally true. David -- David Laight

Re: CVS commit: src/sys/arch/arm

2012-12-10 Thread David Laight
) the kernel public bits, used by normal drivers 3) the bits that are private to the process handling code scheduler. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/share/mk

2012-12-10 Thread David Laight
like the fix you should look for here. what is this EXTERNAL_TOOLCHAIN you're using? i'm totally at a loss what this change is useful for besides re-adding a host dependancy on sed. It would be better to use make conditionals to fix the strings. David -- David Laight: da

Re: CVS commit: src/sys/arch

2012-12-09 Thread David Laight
be a security risk, and complicates the other code paths. Which is, more or less, why i386 support was removed. There is probably other 'support' for systems that no one has any more, and really aren't of enough historical interest to keep supporting. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch

2012-12-08 Thread David Laight
anyway. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2012-12-01 Thread David Laight
/mail: head.c Log Message: Fix misspelling: accommodate is a long enough word to have room for two 'c's and two 'm's. Two of everything except the 'd' and 't' - and there isn't room for two of either of those. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.bin/pkill

2012-11-21 Thread David Laight
list? So it will kill something that keeps using fork() to change its pid. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.bin/pkill

2012-11-21 Thread David Laight
this into the kernel so you could do all the comparisons while keeping all forks from happening? You probably can't ... Even in the kernel it might be 'interesting'. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.bin/pkill

2012-11-20 Thread David Laight
. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/bin/cat

2012-11-10 Thread David Laight
size we use. This allows us to cat -B 1000 /proc/pid/maps for example which cannot handle seeking. Isn't that what dd is for ? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: xsrc/external/mit/libpciaccess/dist/src

2012-11-04 Thread David Laight
in the headers file matches - which is partitularly pointless since the called object code isn't required to avoid modifying the argument memory/register (which might sometimes be a useful optimistation). David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.bin/make

2012-11-03 Thread David Laight
to move the realloc() below the cond_depth+++ I'm then not sure that 128+n*32 is a sane sequence. Possibly just n*32 - since I suspect 32 is plenty for most makefiles. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: [agc-netpgp-standalone] src/crypto/external/bsd/netpgp/dist/src

2012-10-26 Thread David Laight
, the correct default public keyring will not be found. If the default public keyring is not found, the verification will fail. Silent truncation seems a bad thing to do in security code. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/kern

2012-10-20 Thread David Laight
On Sat, Oct 20, 2012 at 04:06:13AM +, David Holland wrote: On Fri, Oct 19, 2012 at 07:58:34AM +0100, David Laight wrote: Module Name: src Committed By:riastradh Date:Fri Oct 19 02:07:23 UTC 2012 Modified Files: src/sys/kern: vfs_syscalls.c

Re: CVS commit: src/sys/kern

2012-10-19 Thread David Laight
-- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/arm/broadcom

2012-10-13 Thread David Laight
it can't do DMA updates of the rxsts for mbufs with addresses = 256MB. It can't also seem to properly read from the descriptor rings if they are 256MB. And I have no idea why either should matter. The combination seems even more obscure. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2012-10-08 Thread David Laight
optimisations that are absent from the 'and %sp,~7' needed to realign it. David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/arch

2012-10-04 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Oct 4 21:23:46 UTC 2012 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU files.amd64 src/sys/arch/x86/include: psl.h src/sys/arch/x86/x86: sys_machdep.c Log Message: Remove references to VM86 from

CVS commit: src/sys/arch

2012-10-04 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Oct 4 21:23:46 UTC 2012 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU files.amd64 src/sys/arch/x86/include: psl.h src/sys/arch/x86/x86: sys_machdep.c Log Message: Remove references to VM86 from

Re: CVS commit: src/external/bsd/sljit

2012-10-03 Thread David Laight
to the wrong place. How long was it there? and was it ever in a build? If not built it can be deleted from the repository. David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/arch

2012-10-03 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Oct 3 18:58:33 UTC 2012 Modified Files: src/sys/arch/i386/conf: ALL Makefile.i386 files.i386 src/sys/arch/i386/i386: autoconf.c machdep.c trap.c src/sys/arch/xen/conf: files.compat files.xen

CVS commit: src/sys/arch

2012-10-03 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Oct 3 18:58:33 UTC 2012 Modified Files: src/sys/arch/i386/conf: ALL Makefile.i386 files.i386 src/sys/arch/i386/i386: autoconf.c machdep.c trap.c src/sys/arch/xen/conf: files.compat files.xen

Re: CVS commit: src/external/bsd/sljit/dist

2012-10-02 Thread David Laight
codes? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/i386

2012-10-01 Thread David Laight
On Mon, Oct 01, 2012 at 12:48:24AM +, David Holland wrote: On Sun, Sep 30, 2012 at 08:19:52PM +, David Laight wrote: Unfortunately apmbios.h is used by the world ! How much of it, and what would happen if we removed it entirely? (Also, what's the recommended usermode API

CVS commit: src/sys/arch/i386/bioscall

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:26:42 UTC 2012 Modified Files: src/sys/arch/i386/bioscall: genassym.cf Log Message: Delete some not-used APM offsets To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/bioscall/genassym.cf

CVS commit: src/sys/arch/i386/include

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:30:39 UTC 2012 Modified Files: src/sys/arch/i386/include: apmvar.h Log Message: Remove some definitions that were part of the APM bos interface. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:35:58 UTC 2012 Modified Files: src/sys/arch/i386/conf: Makefile.i386 Log Message: apmcall.o no longer exists. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177 src/sys/arch/i386/conf/Makefile.i386

CVS commit: src/sys/arch/i386/bioscall

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:26:42 UTC 2012 Modified Files: src/sys/arch/i386/bioscall: genassym.cf Log Message: Delete some not-used APM offsets To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/bioscall/genassym.cf

CVS commit: src/sys/arch/i386/include

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:30:39 UTC 2012 Modified Files: src/sys/arch/i386/include: apmvar.h Log Message: Remove some definitions that were part of the APM bos interface. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/macppc/include

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:32:28 UTC 2012 Modified Files: src/sys/arch/macppc/include: apmvar.h Log Message: Remove 'struct apm_connect_info' - part of the i386 APM bios interface. There are no references to it anywhere in all of $SRC. To

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

2012-10-01 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Oct 1 17:35:58 UTC 2012 Modified Files: src/sys/arch/i386/conf: Makefile.i386 Log Message: apmcall.o no longer exists. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177 src/sys/arch/i386/conf/Makefile.i386

CVS commit: src/sys/dev/pci

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 11:29:42 UTC 2012 Modified Files: src/sys/dev/pci: if_rtw_pci.c Log Message: Fix debug build To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_rtw_pci.c Please note that diffs are not

CVS commit: src/sys/arch/i386

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 20:19:52 UTC 2012 Modified Files: src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: genassym.cf machdep.c mainbus.c Removed Files: src/sys/arch/i386/i386: apmbios.c apmcall.S Log Message: Remove

CVS commit: src/sys/arch/i386/i386

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 20:54:52 UTC 2012 Modified Files: src/sys/arch/i386/i386: genassym.cf machdep.c mainbus.c Log Message: Fix build. I've removed 'option apmbios' so config no longer generates apmbios.h Not to be confused with

CVS commit: src/sys/dev/pci

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 11:29:42 UTC 2012 Modified Files: src/sys/dev/pci: if_rtw_pci.c Log Message: Fix debug build To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_rtw_pci.c Please note that diffs are not

CVS commit: src/sys/arch/i386

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 20:19:52 UTC 2012 Modified Files: src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: genassym.cf machdep.c mainbus.c Removed Files: src/sys/arch/i386/i386: apmbios.c apmcall.S Log Message: Remove

CVS commit: src/sys/arch/i386/i386

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 20:54:52 UTC 2012 Modified Files: src/sys/arch/i386/i386: genassym.cf machdep.c mainbus.c Log Message: Fix build. I've removed 'option apmbios' so config no longer generates apmbios.h Not to be confused with

CVS commit: src/sys/dev/apm

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 21:05:14 UTC 2012 Modified Files: src/sys/dev/apm: apmbios.h Log Message: Remove the fields were are only used by the 'now removed' i386 APC bios support. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys

2012-09-30 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Sep 30 21:36:20 UTC 2012 Modified Files: src/sys/arch/i386/conf: ALL GENERIC src/sys/dev/apm: apm.c apmbios.h files.apm src/sys/dev/hpc/apm: apmdev.c Log Message: Remove code from dev/apm/apm.c for setting global

Re: CVS commit: src/sbin/mount_ptyfs

2012-09-19 Thread David Laight
How long have they been present for? Wouldn't it be best to leave them as valid parameters?? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2012-09-14 Thread David Laight
to be convinced that the patches are correct. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/lib/libpthread

2012-09-12 Thread David Laight
. Conditionalize the test on _UC_TLSBASE being defined. Why not just define it to be zero if it isn't needed ? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/etc

2012-09-07 Thread David Laight
/chmod the tty device nodes. I thought (without checking) that they would be owned by root, group tty with at most user read and user/group write until they are actually used. Once used they get a chown (etc) and might not get reset again. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2012-08-30 Thread David Laight
(with gcc): asm volatile ( ::: memory); after the memset(). David -- David Laight: da...@l8s.co.uk

CVS commit: src/lib/libc/gen

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 20:27:47 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Since 'rs' is statically initialised (not bss) its s[] might as well be compile-time initialised as well. arc4_init) is the same as

CVS commit: src/lib/libc/gen

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 20:32:09 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: arc4 is a random number sequence, there is no point using its own output values to determine a number of output values to skip. Skipping values

CVS commit: src/lib/libc

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 21:38:10 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c src/lib/libc/include: namespace.h Log Message: I'm fairly sure the libc rules require that arc4random_addrandom, arc4random_buf, arc4random_stir and

CVS commit: src/lib/libc/gen

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 20:27:47 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Since 'rs' is statically initialised (not bss) its s[] might as well be compile-time initialised as well. arc4_init) is the same as

CVS commit: src/lib/libc/gen

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 20:32:09 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: arc4 is a random number sequence, there is no point using its own output values to determine a number of output values to skip. Skipping values

CVS commit: src/lib/libc

2012-08-20 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Aug 20 21:38:10 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c src/lib/libc/include: namespace.h Log Message: I'm fairly sure the libc rules require that arc4random_addrandom, arc4random_buf, arc4random_stir and

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 14:42:46 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Use an inline function to check for initialisation, and an non-inlined one to do the actual initialise. Fixes lib/46751 by removing all the

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 15:04:53 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Change the logic used for thread locking to make the code more readable. The effect on the object code is to replace a function call with a

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 15:55:07 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: cache rs.i and rs.j in arc4random_buf() since the compiler can't be told that buf[] dosn't alias them. Reduces the number of instructions

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 14:42:46 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Use an inline function to check for initialisation, and an non-inlined one to do the actual initialise. Fixes lib/46751 by removing all the

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 15:04:53 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Change the logic used for thread locking to make the code more readable. The effect on the object code is to replace a function call with a

CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Aug 18 15:55:07 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: cache rs.i and rs.j in arc4random_buf() since the compiler can't be told that buf[] dosn't alias them. Reduces the number of instructions

Re: CVS commit: src/gnu/usr.bin/groff

2012-08-13 Thread David Laight
of constructors is basically irrelevant to matter. So yes, this just reduces the number of semi-statically linked programs. The size of the elf symbol and string tables may well affect run-time performance. (reduced pages of them, and better symbol hashing) David -- David Laight: da...@l8s.co.uk

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

2012-07-31 Thread David Laight
of adding -fno-common is to remove issues with common data, then it is really doing the wrong thing. You really need to error 'common' data items, not convert them to bss. That might need a check later on the generated files. David -- David Laight: da...@l8s.co.uk

CVS commit: src/lib/libc/gen

2012-07-29 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 29 14:44:14 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Make this compile with the compiler I'm using. Move variable defs to top of function. Don't use const static mib[] - run time initialisation

CVS commit: src/lib/libc/gen

2012-07-29 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 29 14:44:14 UTC 2012 Modified Files: src/lib/libc/gen: arc4random.c Log Message: Make this compile with the compiler I'm using. Move variable defs to top of function. Don't use const static mib[] - run time initialisation

Re: CVS commit: src/sys

2012-07-15 Thread David Laight
together, there are clearly some code paths that only want to remove one of them. I'm almost tempted to revert the entire patch, so that it can be applied as several separate patches. David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/dev/pci

2012-07-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 15 10:56:50 UTC 2012 Modified Files: src/sys/dev/pci: nside.c Log Message: Some namespace protection (and add greppablity). Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_. Don't use an enum for drive_type -

CVS commit: src/sys

2012-07-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 15 15:17:57 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S machdep.c netbsd32_machdep.c trap.c src/sys/arch/amd64/include: frameasm.h proc.h src/sys/arch/x86/include: cpu.h

CVS commit: src/sys

2012-07-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 15 10:55:34 UTC 2012 Modified Files: src/sys/arch/amiga/dev: efa.c src/sys/arch/i386/pci: gcscide.c src/sys/arch/macppc/dev: kauai.c wdc_obio.c src/sys/dev/ata: ata.c ata_wdc.c atavar.h sata_subr.c

CVS commit: src/sys

2012-07-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 15 15:17:57 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S machdep.c netbsd32_machdep.c trap.c src/sys/arch/amd64/include: frameasm.h proc.h src/sys/arch/x86/include: cpu.h

CVS commit: src/sys/arch

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:14:39 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: db_machdep.c src/sys/arch/i386/i386: db_machdep.c Log Message: Neither i386 nor amd64 have had separate syscall_plain/fancy functions for ages, so this

CVS commit: src/sys/fs/ntfs

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:24:47 UTC 2012 Modified Files: src/sys/fs/ntfs: ntfs_subr.c Log Message: Fix build - eg i386/ALL To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/fs/ntfs/ntfs_subr.c Please note that diffs are

CVS commit: src/sys/arch/i386/i386

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:26:42 UTC 2012 Modified Files: src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c svr4_syscall.c Log Message: No point in having separate xxx_syscall_fancy() and xxx_syscall_plain(). Remove the

CVS commit: src/sys/arch/i386/i386

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 18:13:08 UTC 2012 Modified Files: src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c svr4_syscall.c Log Message: Fix previous - syscall_fancy() didn't contain the check for p_trace_anabled. To

CVS commit: src/sys/arch

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:14:39 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: db_machdep.c src/sys/arch/i386/i386: db_machdep.c Log Message: Neither i386 nor amd64 have had separate syscall_plain/fancy functions for ages, so this

CVS commit: src/sys/fs/ntfs

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:24:47 UTC 2012 Modified Files: src/sys/fs/ntfs: ntfs_subr.c Log Message: Fix build - eg i386/ALL To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/fs/ntfs/ntfs_subr.c Please note that diffs are

CVS commit: src/sys/arch/i386/i386

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 17:26:42 UTC 2012 Modified Files: src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c svr4_syscall.c Log Message: No point in having separate xxx_syscall_fancy() and xxx_syscall_plain(). Remove the

CVS commit: src/sys/arch/i386/i386

2012-07-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jul 12 18:13:08 UTC 2012 Modified Files: src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c svr4_syscall.c Log Message: Fix previous - syscall_fancy() didn't contain the check for p_trace_anabled. To

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

2012-07-10 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Jul 10 21:18:07 UTC 2012 Modified Files: src/sys/arch/x86/x86: syscall.c Log Message: Revert the rest of rev 1.6 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/syscall.c Please note that

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

2012-07-10 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Jul 10 21:18:07 UTC 2012 Modified Files: src/sys/arch/x86/x86: syscall.c Log Message: Revert the rest of rev 1.6 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/syscall.c Please note that

CVS commit: src/sys/dev/ic

2012-07-09 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jul 9 19:10:17 UTC 2012 Modified Files: src/sys/dev/ic: ahcisata_core.c Log Message: This a 'quick fix' for the breakage in rev 1.35. Patch from Manuel on current-users mailing list. Probably requires further investigation, but

CVS commit: src/sys/dev/ic

2012-07-09 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jul 9 19:10:17 UTC 2012 Modified Files: src/sys/dev/ic: ahcisata_core.c Log Message: This a 'quick fix' for the breakage in rev 1.35. Patch from Manuel on current-users mailing list. Probably requires further investigation, but

CVS commit: src/sys

2012-07-08 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 8 20:14:12 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: fpu.c machdep.c netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: proc.h src/sys/arch/sh3/include: proc.h userret.h

CVS commit: src/sys

2012-07-08 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jul 8 20:14:12 UTC 2012 Modified Files: src/sys/arch/amd64/amd64: fpu.c machdep.c netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: proc.h src/sys/arch/sh3/include: proc.h userret.h

Re: CVS commit: src/sys/common/pmap/tlb

2012-07-05 Thread David Laight
On Thu, Jul 05, 2012 at 10:34:00AM -0700, Matt Thomas wrote: On Jul 5, 2012, at 10:25 AM, David Laight wrote: On Thu, Jul 05, 2012 at 05:24:54PM +, Matt Thomas wrote: Module Name: src Committed By: matt Date: Thu Jul 5 17:24:54 UTC 2012 Modified Files

Re: CVS commit: src

2012-07-03 Thread David Laight
that has (emulated?) disks where the disk controller doesn't return the actual disk geometry/size - requiring it be stored in the label? David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/dev/pci/ixgbe

2012-06-18 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jun 18 06:21:11 UTC 2012 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Missed one of the (void *) casts on the args to sysctl_createv(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/pci/ixgbe

2012-06-18 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jun 18 06:21:11 UTC 2012 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Missed one of the (void *) casts on the args to sysctl_createv(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

<    1   2   3   4   5   6   7   8   9   >