CVS commit: src/sys/arch

2014-06-16 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jun 16 19:08:18 UTC 2014 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 src/sys/arch/i386/conf: GENERIC XEN3_DOM0 Log Message: Comment out the xhci entries. The driver really doesn't work well enough to be gen

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

2014-05-01 Thread David Laight
Module Name:src Committed By: dsl Date: Thu May 1 18:37:26 UTC 2014 Modified Files: src/sys/arch/i386/stand: Makefile.inc Log Message: Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds. One of these (probably the first) is needed to stop the eh-frame secti

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

2014-04-01 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Apr 1 07:16:18 UTC 2014 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Revert most of the machdep sysctls to 32bit To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/x86/x86/x86_machde

CVS commit: src/lib/libm/src

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 21:52:19 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Change 'i0' to be signed so that the sign bit is preserved on 'k' and the code at the bottom splits the multiply. Fixes denormal results. This mig

CVS commit: src/usr.sbin/rtsold

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 20:39:55 UTC 2014 Modified Files: src/usr.sbin/rtsold: rtsold.c Log Message: Change previous to use uint32_t for 'interval'. The value is a random interval in usec obtained by reducing a uint32_t value modulo 100 (mu

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:51:19 UTC 2014 Modified Files: src/tests/lib/libm: t_exp.c Log Message: Add a lot more tests for exp2() and exp2f(). exp2f(7.7) and exp2f(8.8) seem too far from their expected values (especially the latter). exp2(-102

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:49:27 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Print the result as a 'long double' - on i386 a return value that should be infinity might just be too large for 'double' and won't get converted

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:44:48 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Simplify somewhat: this is C not FORTRAN-IV - we have structures! Directly us 'ieee_double_shape_type' when ripping apart the fp number to avoid a

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:30:44 UTC 2014 Modified Files: src/lib/libm/src: s_exp2f.c Log Message: Fix overflow and underflow on i386. The return value of a 'float' function is in the x87 %st(0) register. This is an 80bit 'long double' register.

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 18:42:21 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Check that the result isn't equaly to the expected value before checking the absolute size of the error term. If the expected result is +/-infin

CVS commit: src/lib/libm/src

2014-03-14 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Mar 14 22:21:32 UTC 2014 Modified Files: src/lib/libm/src: math_private.h Log Message: There is some very odd code in s_exp2.c that only works if 'double' values are rounded to 53 bit mantissa in teh x87 registers. This hasn't

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:15:41 UTC 2014 Modified Files: src/tests/lib/libm: t_atan.c Log Message: A couple of the atan tests are randomly failing. Print the incorrect value. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/te

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:14:46 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c t_libm.h Log Message: Fix some typos. Make the infinity and nan constants 'double' not 'long double'. To generate a diff of this commit: cvs rdiff -u -r1.9 -

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 19:43:46 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Added Files: src/tests/lib/libm: t_libm.h Log Message: Move the #defines that simplified the test definitions and checks into a separate header than

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

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 22:09:32 UTC 2014 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Use the global pci_mode to avoid 'set but not used' warnings from gcc 4.8.3. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 sr

CVS commit: src/tests/lib/libm

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 18:21:33 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Remove the print of the rounding mode. It was added in case it was non-zero - which it isn't. It still isn't clear why acos(-1) gives the wrong re

CVS commit: src/lib/libm/arch/i387

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 08:00:50 UTC 2014 Modified Files: src/lib/libm/arch/i387: e_acos.S Log Message: Drop in a fabs() after the fsqrt(). While it may seem pointless, it the rouding mode is set to round towards minus infinity then acos(-1) calc

CVS commit: src/tests/lib/libm

2014-03-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 2 22:40:45 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Include the subtest number in any error output. Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign b

CVS commit: src/tests/lib/libm

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 21:08:39 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Some of the acos() tests seem to fail on some systems. Sorting out why isn't helped by the tests not reporting the erronous value. Change the 'boi

CVS commit: src/sys/kern

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 17:27:48 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: When converting out of range 64bit sysctl values to 'int' (because of an 'int' sized read) don't assume that sizeof (int) is 4. To generate a d

CVS commit: src/distrib/sets/lists

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 15:41:00 UTC 2014 Modified Files: src/distrib/sets/lists/base: ad.arm ad.mips md.amd64 md.sparc64 shl.mi src/distrib/sets/lists/debug: ad.arm ad.mips md.amd64 md.sparc64 shl.mi Log Message: Replace all the libbind9

CVS commit: src/external/bsd/bind/dist/lib/dns/include/dns

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 12:12:57 UTC 2014 Modified Files: src/external/bsd/bind/dist/lib/dns/include/dns: rbt.h Log Message: Add missing #endif To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/bind/dist/lib/dns/inclu

CVS commit: src/sys/kern

2014-02-27 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 27 22:50:52 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: Allow CTLTYPE_INT and CTLTYPE_QUAD to be read and written as either 4 or 8 byte values regardless of the type. 64bit writes to 32bit variables mu

CVS commit: src/sys/arch

2014-02-25 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 25 22:16:52 UTC 2014 Modified Files: src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpu_extended_state.h cpufunc.h fpu.h src/sys/arch/x86/x86: cpu.c fpu.c vm_machdep.c Log Message: Add support for

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

2014-02-25 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 25 22:11:11 UTC 2014 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add the XCR bits for snazzy upcoming features. Define a mask for the fpu releated ones - only these wll be enabled. The memory bound one

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

2014-02-25 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 25 17:56:03 UTC 2014 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a 'stupido' that stopped (amongst other things) the cpu brand string being read. The most obvious side effect the anita tests failed to

CVS commit: src/sys/arch/x86

2014-02-23 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 23 22:38:40 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: identcpu.c x86_machdep.c Log Message: Rename (the recently added) 'x86_xsave_size' to 'x86_fpu_save_size' and default to 512

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

2014-02-23 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 23 22:36:43 UTC 2014 Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: Avoid unnecessary (and pointless) references to pcb->pcb_savefpu. They were all in asserts. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch

2014-02-23 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 23 22:35:28 UTC 2014 Modified Files: src/sys/arch/i386/i386: freebsd_machdep.c ibcs2_machdep.c svr4_machdep.c src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86: fpu.c Log Message: Add fpu_set_de

CVS commit: src/sys/arch

2014-02-23 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 23 12:56:40 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log Messa

CVS commit: src/sys/arch/x86

2014-02-22 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 22 17:48:08 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: cpu_topology.c identcpu.c Log Message: Re-use the unused ci_cpu_serial[3] to save the highest cpuid values for the normal an

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

2014-02-20 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 20 18:20:39 UTC 2014 Modified Files: src/sys/arch/amd64/include: frame.h Log Message: This doesn't need fpu.h, but should include ucontext.h To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amd64/i

CVS commit: src/sys

2014-02-20 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 20 18:19:10 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: genassym.cf machdep.c src/sys/arch/amd64/include: pcb.h proc.h src/sys/arch/i386/i386: locore.S machdep.c src/sys/arch/i386/include: pcb.h

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

2014-02-20 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 20 18:14:11 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu.h Log Message: This needs stdint.h in userspace (for uint64_t) To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/x86/include/cpu.h

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

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 21:45:01 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_machdep.c Log Message: Explicitly include x86/fpu.h instead of relying in x86/frame.h including it. To generate a diff of this commit: cvs rdif

CVS commit: src/sys

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 21:23:02 UTC 2014 Modified Files: src/sys/arch/i386/i386: compat_16_machdep.c process_machdep.c src/sys/arch/x86/acpi: acpi_wakeup.c src/sys/arch/x86/x86: cpu.c ipi.c src/sys/compat/linux/arch/i386:

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

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 20:50:56 UTC 2014 Modified Files: src/sys/compat/linux/arch/amd64: linux_machdep.c Log Message: Don't rely on pcb.h including x86/include/sysarch.h To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/co

CVS commit: src

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 20:42:15 UTC 2014 Modified Files: src/bin/ps: ps.c src/usr.bin/systat: ps.c syscall.c src/usr.bin/vmstat: vmstat.c src/usr.bin/w: w.c Log Message: Remove some pointless inclusions os sys/user.h To

CVS commit: src/sys/sys

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 20:40:40 UTC 2014 Modified Files: src/sys/sys: user.h Log Message: Userspace shouldn't (and doesn't seem to) need machine/pcb.h. Unfortunately the file is included by loads of stuff, mostly in src/external, so can't be kil

CVS commit: src/lib/libkvm

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 20:21:22 UTC 2014 Modified Files: src/lib/libkvm: kvm.c kvm_alpha.c kvm_file.c kvm_hppa.c kvm_i386.c kvm_i386pae.c kvm_mips.c kvm_proc.c kvm_sh3.c kvm_sparc.c kvm_sparc64.c kvm_vax.c kvm_x86_64.c Lo

CVS commit: src/external/public-domain/sqlite/lib

2014-02-19 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 19 19:29:33 UTC 2014 Modified Files: src/external/public-domain/sqlite/lib: Makefile Log Message: Add all: and dependall: tatgets so that sqlite3.pc actually gets built. To generate a diff of this commit: cvs rdiff -u -r1.4

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

2014-02-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 18 22:05:56 UTC 2014 Modified Files: src/sys/arch/amd64/include: Makefile Log Message: Copy fpu.h to release To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amd64/include/Makefile Please note tha

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

2014-02-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 18 22:03:52 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.amd64 Log Message: Unobsolete fpu.h To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/distrib/sets/lists/comp/md.amd64 Please note that

CVS commit: src/sys/arch

2014-02-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 18 18:39:11 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu_extended_state.h Added Files: src/sys/arch/amd64/include: fpu.h Log Message: It seems that firefox includes machine/fpu.h on amd64. Add the file back

CVS commit: src/sys/arch

2014-02-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 15 22:20:42 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: machdep.c netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: mcontext.h src/sys/arch/i386/i386: machdep.c process_machdep

CVS commit: src/sys

2014-02-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 15 10:11:15 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: genassym.cf machdep.c netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: proc.h src/sys/arch/i386/i386: compat_16_machdep

CVS commit: src/distrib/common

2014-02-15 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 15 09:43:02 UTC 2014 Modified Files: src/distrib/common: Makefile.bootcd Log Message: If MAKEVERBOSE < 2 remove the -v from pax command lines. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/distrib/common

CVS commit: src/sys/arch/x86

2014-02-13 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 13 19:37:08 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu_extended_state.h cpufunc.h src/sys/arch/x86/x86: fpu.c Log Message: Check the argument types for the fpu asm functions. To generate a diff of this c

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

2014-02-13 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 13 17:42:24 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.amd64 Log Message: Mark i386/npx.h obsolete. I'd forgotten it was released here as well. To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 s

CVS commit: src

2014-02-12 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 12 23:24:09 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.i386 src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: autoconf.c cpufunc.S freebsd_mach

CVS commit: src/sys/arch

2014-02-12 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 12 23:04:43 UTC 2014 Modified Files: src/sys/arch/amd64/include: fenv.h src/sys/arch/i386/include: fenv.h Log Message: Add definitions of the default control words directly to this file instead of pulling the kernel d

CVS commit: src/sys/arch

2014-02-12 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 12 19:53:49 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S trap.c src/sys/arch/x86/x86: fpu.c Log Message: Change the argument to fpudna() to be the trapframe. Move the checks for fpu traps in kernel

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

2014-02-11 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 11 22:48:25 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.i386 Log Message: Add x86/fpu.h Nothing in i386 uses it yet, but it ends up in destdir so it has to be released. To generate a diff of this commit: cvs rd

CVS commit: src

2014-02-11 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 11 20:17:16 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.amd64 src/sys/arch/amd64/amd64: machdep.c netbsd32_machdep.c process_machdep.c trap.c src/sys/arch/amd64/conf: files.amd64

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

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 23:02:25 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: fpu.c Log Message: Steal the table from i386/isa/npx.c than selects the highest priority floating point error when raising a signal. Multiple errors bits can ea

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

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 22:47:04 UTC 2014 Modified Files: src/sys/arch/i386/isa: npx.c Log Message: Tidy up and correct some comments. Replace the hand generated 28 lines that initialised fpetable[] with some pre-processor expressions. The latt

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

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 22:19:02 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: fpu.c Log Message: Simplify fputrap() considerably. There is no need to save the fpu state here, and definitely no need to initialise the fpu. The code is runni

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

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 19:42:04 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S Log Message: Best if x86_stmxcsr executes stmxcsr. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/amd64/amd64/cpufunc.S P

CVS commit: src/sys/arch

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 17:07:41 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/x86/include: cpufunc.h Log Message: Add x86_stmxcsr for amd64. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/

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

2014-02-09 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 9 14:44:42 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu_extended_state.h Log Message: Add compatibility for some userspace code (eg firefox) that seems to look inside the ucontext structure passed to signal handl

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

2014-02-08 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 8 22:36:50 UTC 2014 Modified Files: src/sys/arch/x86/include: cpu_extended_state.h Log Message: Add bit defs for more of the x87 status register. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86

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

2014-02-07 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Feb 7 23:18:04 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.amd64 md.i386 Log Message: Add cpu_extended_state.h To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213 src/distrib/sets/lists/comp/md.amd64 c

CVS commit: src/sys

2014-02-07 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Feb 7 22:40:22 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: fpu.c machdep.c netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/conf: files.amd64 src/sys/arch/amd64/include: fpu.h netbsd32_ma

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

2014-02-07 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Feb 7 21:52:46 UTC 2014 Modified Files: src/sys/arch/x86/include: Makefile Log Message: Userspace (especially libkvm) build better is cpu_extended_state.h is exported. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1

CVS commit: src/sys/arch

2014-02-07 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Feb 7 19:36:15 UTC 2014 Modified Files: src/sys/arch/i386/include: npx.h Added Files: src/sys/arch/x86/include: cpu_extended_state.h Log Message: Move all the hardware register layout for the x86 cpus into a header that

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

2014-02-07 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Feb 7 19:32:50 UTC 2014 Modified Files: src/sys/arch/i386/i386: trap.c Log Message: Remove the splurious check for EN_SW_DATACHAIN when looking at mxcsr traps. The relevant bit is always masked out higher up. The only place I ca

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

2014-02-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 5 23:10:41 UTC 2014 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 Log Message: Apparantly clang doesn't like -mno-80387 or -mno-fp-ret-in-387 -msoft-float is equivalent to the former, the latter is probably unlikel

CVS commit: src/sys/arch

2014-02-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Feb 5 18:52:22 UTC 2014 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 src/sys/arch/i386/conf: Makefile.i386 Log Message: Change the compiler options to explicitly specify: -mno-mmx -mno-sse -mno-avx -mno-8038

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

2014-02-04 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 4 22:48:26 UTC 2014 Modified Files: src/sys/arch/i386/i386: machdep.c process_machdep.c Log Message: Now that the sv_xmm and sv_87 fields in the pcb are the same size as the hardware ones, and those in the mcontext, ptrace

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

2014-02-04 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 4 22:21:35 UTC 2014 Modified Files: src/sys/arch/i386/include: mcontext.h npx.h Log Message: Remove the fields from 'struct save87' and 'struct fxsave' that were used to save the control word and tag word on fp faults. Not

CVS commit: src/sys/arch

2014-02-04 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 4 21:09:24 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: fpu.c src/sys/arch/i386/i386: i386_trap.S src/sys/arch/i386/isa: npx.c src/sys/arch/x86/include: cpu.h Log Message: There is no need to ch

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

2014-02-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Feb 3 23:00:32 UTC 2014 Modified Files: src/sys/arch/i386/isa: npx.c Log Message: Since we always run with CR0.NE set (internal fpu using vector 0x10) npxintr() is only generated when a process executes an FP instruction and the

CVS commit: src/sys/arch

2014-02-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Feb 2 22:41:20 UTC 2014 Modified Files: src/sys/arch/i386/acpi: acpi_wakecode.S src/sys/arch/i386/i386: i386_trap.S locore.S machdep.c mptramp.S src/sys/arch/i386/isa: npx.c src/sys/arch/x86/x86: procfs_ma

CVS commit: src/sys/arch/xen/xen

2014-02-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 1 17:48:04 UTC 2014 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Add a direct call to fpuinit(). I'm not sure this is architecturally the best place, but I think it is where npxattach() used to get calle

CVS commit: src/sys

2014-01-26 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 26 19:16:17 UTC 2014 Modified Files: src/sys/arch/i386/conf: ALL GENERIC GENERIC_PS2TINY GENERIC_TINY INSTALL_FLOPPY INSTALL_TINY NET4501 XEN3_DOM0 XEN3_DOMU files.i386 src/sys/arch/i386/i386: autoconf.c i3

CVS commit: src/sys/arch/i386

2014-01-25 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 25 20:12:53 UTC 2014 Modified Files: src/sys/arch/i386/i386: process_machdep.c src/sys/arch/i386/include: npx.h Log Message: Change the way the x87 fp register is defined so that the copies between fsave and fxsave

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

2014-01-25 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 25 19:51:32 UTC 2014 Modified Files: src/sys/arch/i386/i386: process_machdep.c Log Message: Rewrite the code that converts the x87 tag word between its full and abridged versions. The code in xmm_to_s87_tag() looked at the

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

2014-01-19 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 19 23:27:30 UTC 2014 Modified Files: src/sys/arch/i386/include: npx.h Log Message: Add a couple of __CTASSERT() for the sizes of the fp save structures. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/

CVS commit: src/sys

2014-01-19 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 19 14:30:38 UTC 2014 Modified Files: src/sys/arch/i386/i386: freebsd_machdep.c ibcs2_machdep.c machdep.c process_machdep.c svr4_machdep.c trap.c src/sys/arch/i386/include: npx.h src/sys/arch/i386/is

CVS commit: src/sys/compat/freebsd

2014-01-19 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 19 13:36:40 UTC 2014 Removed Files: src/sys/compat/freebsd: freebsd_ptrace.h Log Message: No longer used. To generate a diff of this commit: cvs rdiff -u -r1.6 -r0 src/sys/compat/freebsd/freebsd_ptrace.h Please note that d

CVS commit: src/sys

2014-01-19 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 19 13:35:58 UTC 2014 Modified Files: src/sys/arch/i386/i386: freebsd_machdep.c src/sys/arch/i386/include: freebsd_machdep.h src/sys/compat/freebsd: freebsd_ptrace.c Log Message: Rip out the code that might onc

CVS commit: src/sys/arch

2014-01-19 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 19 10:30:19 UTC 2014 Modified Files: src/sys/arch/amd64/include: pcb.h src/sys/arch/i386/include: pcb.h Log Message: Remove the unused 'struct md_coredump'. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1

CVS commit: src/sys/dev/usb

2014-01-16 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Jan 16 20:55:56 UTC 2014 Modified Files: src/sys/dev/usb: xhci.c Log Message: Add another XXX comment, I'm not in a postition to fix the code. The 'cycle' bit of a LINK trb must not be changed until the cycle bit of the following

CVS commit: src/sys

2014-01-06 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Jan 7 07:59:03 UTC 2014 Modified Files: src/sys/kern: core_netbsd.c src/sys/uvm: uvm_coredump.c Log Message: Re-instate the zero length sections in elf core dumps (they probably help describe the process memory layout)

CVS commit: src/sys/kern

2014-01-05 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Jan 5 09:13:18 UTC 2014 Modified Files: src/sys/kern: core_elf32.c Log Message: Fix previous slightly differently. No need to have an extra variable and to write to the list head. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Jan 4 00:10:03 UTC 2014 Modified Files: src/sys/arch/alpha/alpha: process_machdep.c src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c src/sys/arch/amd64/include: netbsd32_machdep.h src/sys/arc

CVS commit: src/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 21:34:40 UTC 2014 Modified Files: src/sys/kern: core_elf32.c src/sys/sys: exec_elf.h Log Message: Fix bug in previous (panic during process core dump). Change the interface to ELFNAMEEND(coredump_savenote) so that

CVS commit: src/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 21:12:18 UTC 2014 Modified Files: src/sys/kern: core_elf32.c core_netbsd.c src/sys/uvm: uvm_coredump.c uvm_extern.h Log Message: There is no need for uvm_coredump_walkmap() to explicity pass the proc_t pointer to

CVS commit: src/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 20:52:47 UTC 2014 Modified Files: src/sys/kern: core_elf32.c kern_core.c src/sys/sys: exec.h exec_elf.h Log Message: Instead of generating all the 'note' sections twice (and hoping that the 'fast path' size on th

CVS commit: src/sys/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 16:54:48 UTC 2014 Modified Files: src/sys/sys: exec_elf.h Log Message: Remove the incorrect and unused Elf64_Shalf. At one time it was used for a 32bit item - but that definition has long since been changed to use a reas

CVS commit: src

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 16:50:54 UTC 2014 Modified Files: src/sys/arch/xen/include/xen-public: elfstructs.h src/tools/amiga-elf2bb/sys: exec_elf.h src/tools/m68k-elf2aout/sys: exec_elf.h src/tools/mips-elf2ecoff/sys: exec_e

CVS commit: src/sys/arch

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 16:40:58 UTC 2014 Modified Files: src/sys/arch/atari/stand/tostools/libtos: exec_elf.h src/sys/arch/epoc32/stand/e32boot/include: elf.h Log Message: Remove the _KERNEL part of these two clones of sys/exec_elf.h Rem

CVS commit: src/sys

2014-01-03 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Jan 3 15:15:02 UTC 2014 Modified Files: src/sys/kern: core_elf32.c core_netbsd.c src/sys/uvm: uvm_coredump.c uvm_extern.h Log Message: Minor changes to the process coredump code. - Add some extra comments. - Add some XXX

CVS commit: src/sys

2014-01-01 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Jan 1 18:57:16 UTC 2014 Modified Files: src/sys/arch/alpha/alpha: core_machdep.c src/sys/arch/amd64/amd64: netbsd32_machdep.c src/sys/arch/arm/arm: core_machdep.c src/sys/arch/arm/arm32: netbsd32_machdep.c

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

2013-12-12 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Dec 12 22:41:03 UTC 2013 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Since regs->fxstate is actually of type 'struct fxsave64' use a structure copy instead of a 'not obviously incorrect' memcpy().

CVS commit: src/sys/arch/amd64

2013-12-11 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Dec 11 22:06:51 UTC 2013 Modified Files: src/sys/arch/amd64/amd64: fpu.c src/sys/arch/amd64/include: fpu.h pcb.h Log Message: Remove the fields that were used to save the i387 fp state on interrupt. They were written but

CVS commit: src/sys/dev/usb

2013-12-10 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Dec 10 19:39:42 UTC 2013 Modified Files: src/sys/dev/usb: xhci.c Log Message: Add a few comments about some perversities of the xhci specification. XXX: I can't see any code that ensures there is space in the rings. XXX: Nothing

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

2013-12-09 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Dec 9 17:39:53 UTC 2013 Modified Files: src/sys/arch/i386/include: freebsd_machdep.h Log Message: Include machine/npx.h here. The only file that needs 'struct freebsd_save87' includes it already. To generate a diff of this com

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

2013-12-09 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Dec 9 08:33:48 UTC 2013 Modified Files: src/sys/compat/linux/arch/i386: linux_machdep.c Log Message: Missing change to the fxsave structure rename To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/compat/

CVS commit: src/sys/arch/i386

2013-12-08 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Dec 8 20:45:30 UTC 2013 Modified Files: src/sys/arch/i386/i386: freebsd_machdep.c ibcs2_machdep.c machdep.c process_machdep.c svr4_machdep.c trap.c src/sys/arch/i386/include: freebsd_machdep.h npx.h sr

  1   2   3   >