CVS commit: src/sys/dev/isa

2012-04-29 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Apr 29 21:13:56 UTC 2012 Modified Files: src/sys/dev/isa: isadmavar.h Log Message: Patch out the 'struct malloc_type' from the isa_dma alloc routines. All the i386 kernels now build To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.sbin/installboot

2012-03-10 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 10 18:42:19 UTC 2012 Modified Files: src/usr.sbin/installboot: installboot.8 src/usr.sbin/installboot/arch: i386.c Log Message: Some FAT16 filesystems don't have 'hidden sectors' correctly set to the offset of the

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

2012-03-10 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 10 23:59:36 UTC 2012 Modified Files: src/sys/arch/i386/stand/fatboot: Makefile fatboot.S Added Files: src/sys/arch/i386/stand/fatboot/fat12: Makefile Log Message: Add support for directly booting from FAT12

CVS commit: src/sys/compat

2011-06-05 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jun 5 08:42:59 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_sched.c src/sys/compat/netbsd32: netbsd32_fs.c netbsd32_netbsd.c Log Message: Delete some splurious commas and very unexpected trailing space

CVS commit: src/sys/compat/common

2011-06-05 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jun 5 09:37:10 UTC 2011 Modified Files: src/sys/compat/common: compat_sigaltstack.h Log Message: Use 'curlwp' here insteald of the 'l' - which isn't passsed as an arg to the #define, but will always be curlwp. To generate a

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

2011-06-02 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jun 2 18:46:51 UTC 2011 Modified Files: src/sys/arch/i386/include: frame.h Log Message: Replace the trapframe fields for segment registers with two uint16_t fields - one of which is an explicit pad. To generate a diff of this

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

2011-06-02 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jun 2 18:48:55 UTC 2011 Modified Files: src/sys/arch/i386/stand/boot: Makefile.boot Log Message: Put all the 'CFLAGS+= -Dxxx' together. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

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

2011-06-02 Thread David Laight
. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by David Laight. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

CVS commit: src/sys/kern

2011-06-02 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jun 2 18:54:44 UTC 2011 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Fix type in comment (before I replace the 'l' with 'curlwp') To generate a diff of this commit: cvs rdiff -u -r1.423 -r1.424

CVS commit: src/external/mit/xorg/bin

2011-05-23 Thread David Laight
Module Name:src Committed By: dsl Date: Mon May 23 17:44:41 UTC 2011 Modified Files: src/external/mit/xorg/bin/xdm: Makefile src/external/mit/xorg/bin/xinput: Makefile Log Message: Add explicit -lfoo for libraries that are required because of NEEDED entries in

CVS commit: src/usr.bin/make

2011-05-18 Thread David Laight
Module Name:src Committed By: dsl Date: Wed May 18 06:36:48 UTC 2011 Modified Files: src/usr.bin/make: Makefile Log Message: Back out a local change To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/usr.bin/make/Makefile Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2011-05-18 Thread David Laight
Module Name:src Committed By: dsl Date: Wed May 18 19:36:36 UTC 2011 Modified Files: src/lib/libc/stdlib: abort.c exit.c lsearch.c merge.c qsort.c rand48.h tdelete.c tfind.c tsearch.c twalk.c Log Message: Remove __P() To generate a diff of this commit: cvs

CVS commit: xsrc/external/mit/xf86-video-geode/dist/src

2011-05-18 Thread David Laight
Module Name:xsrc Committed By: dsl Date: Wed May 18 20:50:50 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-geode/dist/src: geode_msr.c Log Message: Add: #define lseek64 lseek so this builds. Has NetBSD ever had an lseek64 - there isn't one in libc - so has this

CVS commit: xsrc/external/mit/xf86-video-geode/dist/src

2011-05-18 Thread David Laight
Module Name:xsrc Committed By: dsl Date: Wed May 18 21:07:09 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-geode/dist/src: geode_msr.c Log Message: Revert previous, -Dlseek64=lseek added to src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile To

CVS commit: src/usr.bin/make

2011-05-17 Thread David Laight
Module Name:src Committed By: dsl Date: Tue May 17 21:56:52 UTC 2011 Modified Files: src/usr.bin/make: Makefile parse.c Log Message: If a makefile if a multiple of the page size and doesn't end with a newline, then it all goes horribly wrong when make tries to terminate

CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-02-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 6 10:50:52 UTC 2010 Modified Files: src/crypto/external/bsd/netpgp/dist/src/lib: packet-parse.c validate.c Log Message: Fix printf formats on amd64 (and probably other 64bit systems). To generate a diff of this commit:

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

2010-01-17 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 17 22:21:18 UTC 2010 Modified Files: src/sys/arch/i386/i386: trap.c vector.S Log Message: Fix 'fault on load of %gs during retirn to userspace' to look for the correct instruction bytes. Take the 'fault on load segment

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

2010-01-10 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 10 15:21:36 UTC 2010 Modified Files: src/sys/arch/i386/i386: trap.c vector.S Log Message: If we fault on the 'iret' during return to userpace (eg if %eip is outside the bounds of %cs) then hack the stack to contain a normal

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

2010-01-10 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 10 15:37:36 UTC 2010 Modified Files: src/sys/arch/i386/i386: trap.c Log Message: If we fault on the iret during return to userspace, see if we need to do a lazy update of %cs to make the stack executable. If a change is

CVS commit: src/usr.bin/msgc

2010-01-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 2 16:08:20 UTC 2010 Modified Files: src/usr.bin/msgc: msg_sys.def Log Message: Remove some sign compare warnings. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/msgc/msg_sys.def Please note

CVS commit: src/distrib/utils/sysinst/arch/mac68k

2010-01-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 2 17:15:07 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/mac68k: menus.md.de menus.md.en menus.md.es menus.md.pl Log Message: Sanitise whitespace to minimise the differences between these files. To

CVS commit: src/distrib/utils/sysinst

2010-01-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 2 18:06:58 UTC 2010 Modified Files: src/distrib/utils/sysinst: aout2elf.c disks.c util.c wskbd.c src/distrib/utils/sysinst/arch/acorn32: md.c src/distrib/utils/sysinst/arch/cobalt: md.c

CVS commit: src/distrib/utils/sysinst/arch

2010-01-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 2 20:54:46 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/mvme68k: md.c src/distrib/utils/sysinst/arch/x68k: md.c Log Message: Fix another couple of signed v unsigned comparisons of disk block numbers. To

CVS commit: src/distrib/utils/sysinst

2010-01-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 2 21:16:47 UTC 2010 Modified Files: src/distrib/utils/sysinst: Makefile.inc defs.h label.c mbr.c Log Message: Change most of the variables that hold disk sector number to be (at least) uint32_t. Might make sysinst work on

CVS commit: src/sbin/fdisk

2009-12-23 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Dec 23 18:50:40 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Put #endif in correct place - fixes PR/42500 Update usage() for -A, and rename one of the variables for clarity. To generate a diff of this commit:

CVS commit: src/sbin/fdisk

2009-12-23 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Dec 23 20:56:18 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.8 Log Message: Add info for -A ptn_alignment[/ptn_0_offset] To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sbin/fdisk/fdisk.8 Please note that

CVS commit: src/sys/kern

2009-12-22 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Dec 22 20:50:47 UTC 2009 Modified Files: src/sys/kern: kern_event.c Log Message: Use sizeof correct type, not pointer to wrong type. Fixes PR/42498. This has been wrong since the initial import! To generate a diff of this

CVS commit: src/sbin/fdisk

2009-12-22 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Dec 22 21:04:38 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Editing partitions larger than 1TB works better if 'decimal' returns 64 bit integer values! To generate a diff of this commit: cvs rdiff -u -r1.127

CVS commit: src/sbin/fdisk

2009-12-22 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Dec 22 21:55:12 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Add support for partition being aligned on non-cylinder boundaries. Info can be specified with -A parameter. Default is based on how the first

CVS commit: src/sys

2009-12-20 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 20 09:36:06 UTC 2009 Modified Files: src/sys/arch/xen/xen: xenevt.c src/sys/compat/svr4: svr4_net.c src/sys/compat/svr4_32: svr4_32_net.c src/sys/dev/dmover: dmover_io.c src/sys/dev/putter:

CVS commit: src/sbin/newfs

2009-12-20 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 20 15:21:13 UTC 2009 Modified Files: src/sbin/newfs: Makefile newfs.c Log Message: Push the mount path for mount_mfs through realpath(). This matches what other fs do. Fixes PR/20362 To generate a diff of this commit: cvs

CVS commit: src/sbin/fdisk

2009-12-20 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 20 17:32:09 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Add a large comment about disk geometries. Rename (with #defines) the variables use for aligning partitions to separate them from the bios geometry.

CVS commit: src/sys/kern

2009-12-15 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Dec 15 18:35:18 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c Log Message: Don't ERESTART write() calls for now. I suspect some programs don't allow for the partial transfer. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2009-12-13 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 13 18:27:02 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c src/sys/sys: pipe.h Log Message: Revert most of the previous change. Only one fd needs clobbering, not all fds that reference the pipe. This may be what

CVS commit: src/sys/kern

2009-12-13 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 13 20:02:23 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c Log Message: Another, better, fix for PR/26567. Only sleep once within each pipe_read/pipe_write call. If there is no data/space available after we wakeup return

CVS commit: src/sys/kern

2009-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 12 17:03:19 UTC 2009 Modified Files: src/sys/kern: init_sysctl.c Log Message: Always set L_INMEM to maintain binary compatibility. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/kern/init_sysctl.c

CVS commit: src/sys/kern

2009-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 12 17:29:34 UTC 2009 Modified Files: src/sys/kern: init_sysctl.c Log Message: Report L_INMEM in the lwp info as well. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/kern/init_sysctl.c Please note

CVS commit: src/sys/kern

2009-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 12 17:47:05 UTC 2009 Modified Files: src/sys/kern: sys_select.c Log Message: Bounding the 'nfds' arg to poll() at the current process limit for actual open files is rather gross - the poll map isn't required to be dense.

CVS commit: src/sys/kern

2009-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 12 17:48:54 UTC 2009 Modified Files: src/sys/kern: subr_prof.c Log Message: Fix comment for arg types of sys_profil(). To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/kern/subr_prof.c Please note

CVS commit: src/sys

2009-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 12 21:28:04 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c src/sys/sys: pipe.h Log Message: Add support for unblocking read/write when close called. Fixes PR/26567 for pipes. (NB ad backed out the fix for sockets)

CVS commit: src/sys/kern

2009-12-10 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Dec 10 20:55:17 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c Log Message: Avoid leaking a mutex_obj when pipe_create() fails for the read pipe. Remove the unused argument from pipeclose(). To generate a diff of this

CVS commit: src/sys

2009-12-09 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Dec 9 21:33:00 UTC 2009 Modified Files: src/sys/arch/xen/xen: xenevt.c src/sys/compat/svr4: svr4_net.c src/sys/compat/svr4_32: svr4_32_net.c src/sys/dev/dmover: dmover_io.c src/sys/dev/putter:

CVS commit: src/sys/altq

2009-12-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 6 14:03:23 UTC 2009 Modified Files: src/sys/altq: files.altq Log Message: Move BLUE_STATS to a commented out line since it is always enabled in the source file. Fixes PR/35390. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev

2009-12-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 6 16:33:19 UTC 2009 Modified Files: src/sys/dev: vnd.c vndvar.h Log Message: Make vnd_size (the returned size) 64 bit, keeping old field for ioctl compatibility. Both fields are now unsigned. Add compatibility for the old

CVS commit: src/usr.sbin/vnconfig

2009-12-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 6 16:35:16 UTC 2009 Modified Files: src/usr.sbin/vnconfig: vnconfig.c Log Message: VNDIOCSET now returns a 64bit unsigned size. Use compat ioctls if the kernel rejects the request. Fixes PR/41873. To generate a diff of

CVS commit: src/sys/dist/pf/net

2009-12-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 6 16:46:11 UTC 2009 Modified Files: src/sys/dist/pf/net: pf_if.c Log Message: If pfi_address_add() has to extend the buffer, copy the data in the right direction! Fixes PR/41939. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2009-12-06 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 6 20:26:55 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c Log Message: Correct comment, pipelock() no longer releases the mutex. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/kern/sys_pipe.c

CVS commit: src/sys/dev/pci

2009-12-05 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Dec 5 16:30:39 UTC 2009 Modified Files: src/sys/dev/pci: pcidevs Log Message: Correct what are clearly typos leading to duplicate vendor:product pairs. Where possible values have been checked against the pcidatabase and x.org.

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

2009-11-30 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Nov 30 21:37:16 UTC 2009 Modified Files: src/sys/arch/i386/stand/bootxx: pbr.S Log Message: Update 'oemname' to NetBSD60. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/stand/bootxx/pbr.S

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

2009-11-30 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Nov 30 21:40:35 UTC 2009 Modified Files: src/sys/arch/i386/stand/bootxx: Makefile.bootxx Log Message: Move relocation address to lower memory (0x1000) further away from the BIOS 40:0 segment than previously but giving more room

CVS commit: src/sys/compat/irix

2009-11-28 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 28 20:09:56 UTC 2009 Modified Files: src/sys/compat/irix: irix_sysmp.c Log Message: Set irm-bufmem = uvmexp.filepages; as suggested in PR/30408 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/genassym

2009-11-28 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 28 20:30:02 UTC 2009 Modified Files: src/usr.bin/genassym: genassym.sh Log Message: Use shell builtin getopts instead of getopt(1). Fixes PR/30425 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/usr.bin/getopt

2009-11-28 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 28 20:36:45 UTC 2009 Modified Files: src/usr.bin/getopt: getopt.1 Log Message: Add a note telling people to use the shell getopts builtin. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/compat

2009-11-28 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 28 22:11:42 UTC 2009 Modified Files: src/sys/compat/linux/common: linux_socket.c linux_socket.h linux_sockio.h src/sys/compat/sys: sockio.h Log Message: Add LINUX_SIOCGIFMTU and LINUX_IP_HDRINCL support.

CVS commit: src/sys/kern

2009-11-28 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 28 22:38:07 UTC 2009 Modified Files: src/sys/kern: subr_disk.c Log Message: When truncating a request in bounds_check_with_mediasize() multiply by the provided sector size instead of 512. Fixes last bit of PR/31565 To

CVS commit: src/external/gpl2/xcvs/dist/src

2009-11-27 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 27 18:38:29 UTC 2009 Modified Files: src/external/gpl2/xcvs/dist/src: zlib.c Log Message: Fix compressed server accesses. According to http://cvs.savannah.gnu.org/viewvc/ccvs/src/?root=cvs this was broken between revs 1.29

CVS commit: src/sys/dev/isa

2009-11-27 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 27 20:56:29 UTC 2009 Modified Files: src/sys/dev/isa: if_ntwoc_isa.c Log Message: Add patch from PR/11805 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/isa/if_ntwoc_isa.c Please note that diffs

CVS commit: src/common/lib/libc/arch/x86_64/string

2009-11-22 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 22 17:25:47 UTC 2009 Modified Files: src/common/lib/libc/arch/x86_64/string: bcopy.S Log Message: Align to the destination buffer. This probably costs 1 clock (on modern cpus) in the normal case. But gives a big benefit when

CVS commit: src/sys/dev/pcmcia

2009-11-22 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 22 21:18:42 UTC 2009 Modified Files: src/sys/dev/pcmcia: if_cnw.c Log Message: Remove splurious interrupt message. The IRQ might be shared. Fixes PR/11410 To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

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

2009-11-21 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 21 11:52:57 UTC 2009 Modified Files: src/sys/arch/i386/stand/lib: bios_disk.S biosmemps2.S dos_file.S Log Message: Preserve %ds over bios calls. Not strickly necessary because real_to_prot doesn't normally rely on in.

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

2009-11-21 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 21 11:54:47 UTC 2009 Modified Files: src/sys/arch/i386/stand/lib: realprot.S Log Message: Replace EPIA_HACK code with a version that 'just' trashes any return address cache. This seems to be rather more effective! This

CVS commit: src/common/lib/libc/arch/x86_64/string

2009-11-21 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 21 19:52:54 UTC 2009 Modified Files: src/common/lib/libc/arch/x86_64/string: bcopy.S Log Message: Avoid doing two 'rep movs' operations. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/sys

2009-11-21 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 21 19:54:49 UTC 2009 Modified Files: src/sys/sys: lwp.h Log Message: Revert last change - don't expose lwp_getpcb() to userspace. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/sys/lwp.h Please

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

2009-11-21 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 21 19:59:51 UTC 2009 Modified Files: src/sys/arch/i386/i386: db_trace.c Log Message: Don't call lwp_getpcb() when not KERNEL. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/i386/i386/db_trace.c

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

2009-11-20 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 20 17:28:19 UTC 2009 Modified Files: src/sys/arch/i386/stand/boot: Makefile.boot src/sys/arch/i386/stand/bootxx: Makefile.bootxx src/sys/arch/i386/stand/mbr: Makefile.mbr Log Message: Change relay address for

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

2009-11-20 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 20 19:25:38 UTC 2009 Modified Files: src/sys/arch/i386/stand/lib: bootinfo_biosgeom.c Log Message: EXT13_DEVPATH_SIGNATURE should be EXTINFO_DEVPATH_SIGNATURE To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2009-11-19 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Nov 19 22:08:14 UTC 2009 Modified Files: src/sys/arch/i386/stand/lib: dump_eax.S Log Message: Shorten slightly To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/stand/lib/dump_eax.S Please note

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

2009-11-19 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Nov 19 22:10:03 UTC 2009 Modified Files: src/sys/arch/i386/stand/lib: message.S src/sys/arch/i386/stand/mbr: mbr.S Log Message: Move code for outputting directly to the serial port into message.S Allows it to be enabled

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

2009-11-19 Thread David Laight
Exp $ */ + +/*- + * Copyright (c) 2003 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by David Laight. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

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

2009-11-18 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Nov 18 20:33:39 UTC 2009 Modified Files: src/sys/arch/i386/stand/boot: Makefile.boot Log Message: Keep the output of 'ld' prior to extracting the image. Useful for debugging (etc) since it contains the symbols. To generate a

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

2009-11-18 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Nov 18 20:51:22 UTC 2009 Modified Files: src/sys/arch/i386/stand/mbr: mbr.S Log Message: Adjust the way references to the unrelocated addresses are done so that the address doesn't have to be passed in. Adjust #ifdef so that

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

2009-11-18 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Nov 18 21:04:12 UTC 2009 Modified Files: src/sys/arch/i386/stand/mbr/mbr: Makefile Log Message: Reinstate the banner. This was added to detect problems when the mbr code gets written into the pbr. (When the code loops reading

CVS commit: src/sys/conf

2009-11-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 15 13:39:00 UTC 2009 Modified Files: src/sys/conf: osrelease.sh Log Message: Use shell builtins instead of awk and sed. Avoids problems with awk processing floating point numbers when LC_NUMERIC give a decimal point of ','.

CVS commit: src/sys/conf

2009-11-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 15 14:40:18 UTC 2009 Modified Files: src/sys/conf: osrelease.sh Log Message: Get patch part of version from comment. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/conf/osrelease.sh Please note

CVS commit: src/dist/nvi/cl

2009-11-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 15 18:23:08 UTC 2009 Modified Files: src/dist/nvi/cl: cl_funcs.c Log Message: Need %zu for size_t To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/dist/nvi/cl/cl_funcs.c Please note that diffs are not

CVS commit: src/sys/conf

2009-11-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 15 18:41:08 UTC 2009 Modified Files: src/sys/conf: osrelease.sh Log Message: Fix borkeage To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/conf/osrelease.sh Please note that diffs are not public

CVS commit: src/dist/nvi

2009-11-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 15 18:43:28 UTC 2009 Modified Files: src/dist/nvi/cl: cl_funcs.c src/dist/nvi/ex: ex_shell.c ex_util.c src/dist/nvi/vi: vi.c Log Message: Fix all formats for 64bit builds To generate a diff of this commit:

CVS commit: src/sys/kern

2009-11-14 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 14 13:18:41 UTC 2009 Modified Files: src/sys/kern: tty_subr.c Log Message: Christos was worried about clrbits() being called with a length of zero. This can't happen, but rework so it doesn't matter. Remove 'optimisation'

CVS commit: src/sys/kern

2009-11-13 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 13 19:00:15 UTC 2009 Modified Files: src/sys/kern: tty_subr.c Log Message: Change args to clrbits() to be unsigned for efficiency. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/kern/tty_subr.c

CVS commit: src/sys/kern

2009-11-13 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 13 19:15:24 UTC 2009 Modified Files: src/sys/kern: tty_subr.c Log Message: Fix clrbits() so that it doesn't mask no bits out of the byte after the range (when the last bit to be cleared is the msb of a byte). Fixes PR/42312

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

2009-11-13 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Nov 13 22:49:47 UTC 2009 Modified Files: src/sys/arch/amd64/amd64: copy.S Log Message: tlbstate is 'int', so use 'cmpl' not 'cmpq'. Fixes gprof on amd64 PR/40960. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/rump/librump/rumpkern

2009-11-07 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Nov 7 12:08:35 UTC 2009 Modified Files: src/sys/rump/librump/rumpkern: pmap_stub.c Log Message: Fix stub prototype To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/rump/librump/rumpkern/pmap_stub.c

CVS commit: src/usr.bin/systat

2009-11-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 1 22:08:14 UTC 2009 Modified Files: src/usr.bin/systat: globalcmds.c Log Message: Correctly count number of chars output so that help isn't blank if the terminal is too narrow. Not ideal since the last command isn't shown

CVS commit: src/lib/libcurses

2009-11-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Nov 1 22:11:27 UTC 2009 Modified Files: src/lib/libcurses: get_wch.c getch.c tty.c Log Message: Move calls to __restore_termios() into the failing path of the functions that fail - instead of in most of the callers. All rather

CVS commit: src/dist/nvi/ex

2009-10-31 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 31 14:30:55 UTC 2009 Modified Files: src/dist/nvi/ex: ex_write.c Log Message: Save command in :w !command for later :w !! Fixes PR/8169 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/dist/nvi/ex/ex_write.c

CVS commit: src/dist/nvi/regex

2009-10-31 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 31 20:11:53 UTC 2009 Modified Files: src/dist/nvi/regex: regexec.c Log Message: Fix regexp on LP64 systems. By the time 'states1' was expanded, it became 'char *' so the code tried to put 64 bits into an int! Fixed PR/41924

CVS commit: src/sbin/fdisk

2009-10-31 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 31 20:41:00 UTC 2009 Modified Files: src/sbin/fdisk: fdisk.c Log Message: Make absence of /usr/mdec/mbr only a warning. Fixes PR/26510 To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sbin/fdisk/fdisk.c

CVS commit: src/lib/libc/stdio

2009-10-25 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Oct 25 17:09:34 UTC 2009 Modified Files: src/lib/libc/stdio: asprintf.c fgets.c fgetwc.c fread.c fvwrite.c getdelim.c Log Message: Lint is differentially far too picky... Remove some warnings that only appear on i386

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

2009-10-24 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 24 10:28:30 UTC 2009 Modified Files: src/sys/arch/i386/stand/cdboot: cdboot.S Log Message: Add some illumination ... To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/i386/stand/cdboot/cdboot.S

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

2009-10-24 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 24 11:23:07 UTC 2009 Modified Files: src/sys/arch/i386/stand/cdboot: cdboot.S Log Message: Support reading /boot 64k. Based on the patch from Izumi Tsutsui. Compiles but not actually tested! Fixes PR/42202 To generate a

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

2009-10-24 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 24 12:57:17 UTC 2009 Modified Files: src/sys/arch/i386/stand/cdboot: cdboot.S Log Message: Fix constant in comment To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/i386/stand/cdboot/cdboot.S

CVS commit: src/lib/libc/stdio

2009-10-24 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Oct 24 14:50:48 UTC 2009 Modified Files: src/lib/libc/stdio: fgets.c Log Message: Check for EOF before erroring fgets() with length = 0. If length is invalid, set errno = EINVAL and __SERR as well returning NULL. Should let me

CVS commit: src/lib/libc/stdio

2009-10-15 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Oct 15 06:19:35 UTC 2009 Modified Files: src/lib/libc/stdio: vfprintf.c Log Message: Reverse previous, committed by mistake. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/stdio/vfprintf.c Please

CVS commit: src/sys/kern

2009-10-14 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Oct 14 19:25:39 UTC 2009 Modified Files: src/sys/kern: tty_pty.c Log Message: Error out of ptcread() if the uio length supplied is zero before the code has a chance to panic in ureadc(). To generate a diff of this commit: cvs

CVS commit: src/sys/sys

2009-10-13 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Oct 13 17:19:00 UTC 2009 Modified Files: src/sys/sys: null.h Log Message: Enclose (void *)0 in an extra set of parenthese to make the result usable in arbitrary expressions. Fixes PR/41890, I can't think of any downsides! To

CVS commit: src/sys/kern

2009-10-11 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Oct 11 08:08:32 UTC 2009 Modified Files: src/sys/kern: tty_pty.c Log Message: Fix locking when collecting pt_read and pt_ucntl. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/kern/tty_pty.c Please

CVS commit: src/sys/kern

2009-10-11 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Oct 11 17:20:48 UTC 2009 Modified Files: src/sys/kern: tty.c Log Message: Check for zero length read here - and return zero. Most times we've come through spec_read() which has already done the test, but not always (eg pty with

CVS commit: src/usr.bin/sort

2009-10-09 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Oct 9 20:23:19 UTC 2009 Modified Files: src/usr.bin/sort: fsort.c Log Message: Don't give merge an empty file when we detect EOF with nothing in our buffer. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44

CVS commit: src/usr.bin/sort

2009-10-09 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Oct 9 20:29:44 UTC 2009 Modified Files: src/usr.bin/sort: msort.c Log Message: When we need to merge more than 16 files, do them in a hierarchy. Reduces the amount of data written to temporary files. The 3-level stack has to do

CVS commit: src/usr.bin/sort

2009-10-09 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Oct 9 20:32:57 UTC 2009 Modified Files: src/usr.bin/sort: fsort.c Log Message: If anyone is stupid enough to feed records longer than 8MB into sort, don't sit in an infinite loop, instead eat memory until we have read 8

<    1   2   3   4   >