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

2014-02-02 Thread David Laight
On Sat, Feb 01, 2014 at 06:09:04PM -0800, John Nemeth wrote: } } XEN might need the bits of fpuinit() that don't play with cr0. } In particular a fninit and setting TS. } Although I'm not 100% sure the TS is needed on a single cpu system. Xen domU is SMP capable. NetBSD dom0

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

2014-02-02 Thread David Laight
On Sun, Feb 02, 2014 at 01:27:45PM +0100, Manuel Bouyer wrote: On Sat, Feb 01, 2014 at 10:49:44PM +, David Laight wrote: On Sat, Feb 01, 2014 at 08:07:07PM +, Manuel Bouyer wrote: Module Name: src Committed By: bouyer Date: Sat Feb 1 20:07:07 UTC 2014

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

2014-02-02 Thread Manuel Bouyer
On Sun, Feb 02, 2014 at 06:53:55PM +, David Laight wrote: It's been a while since I looked at this and I don't remmeber the details, but I don't think anything of fpuinit() is neeed for Xen. in netbsd-6 npxattach() doens't do anything either for Xen (only set i386_fpu_present to 1 and

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

2014-02-02 Thread David Laight
On Sun, Feb 02, 2014 at 08:41:29PM +0100, Manuel Bouyer wrote: On Sun, Feb 02, 2014 at 06:53:55PM +, David Laight wrote: Something needs to set the TS (task switched) flag when a new cpu is added. Both amd64 and i386 'bare metal' have direct calls to fpuinit() to do this. If TS

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

2014-02-02 Thread Manuel Bouyer
On Sun, Feb 02, 2014 at 08:24:08PM +, David Laight wrote: On Sun, Feb 02, 2014 at 08:41:29PM +0100, Manuel Bouyer wrote: On Sun, Feb 02, 2014 at 06:53:55PM +, David Laight wrote: Something needs to set the TS (task switched) flag when a new cpu is added. Both amd64 and i386 'bare

Re: CVS commit: src/external/gpl3/gdb/dist/gdb

2014-02-02 Thread David Laight
On Sun, Feb 02, 2014 at 05:00:38PM -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Feb 2 22:00:38 UTC 2014 Modified Files: src/external/gpl3/gdb/dist/gdb: inf-ptrace.c Log Message: Fix threading bug again. To generate a diff of this

Re: CVS commit: src/lib/libc/arch/powerpc/sys

2014-02-02 Thread David Holland
On Sat, Feb 01, 2014 at 08:26:21PM +, Matt Thomas wrote: Modified Files: src/lib/libc/arch/powerpc/sys: __syscall.S syscall.S Log Message: Since powerpc passes 8 arguments in registers and the syscall number in r0, shuffle register argument so the kernel won't need to access

Re: CVS commit: src/external/gpl3/gdb/dist/gdb

2014-02-02 Thread Christos Zoulas
In article 20140202223912.gd16...@snowdrop.l8s.co.uk, David Laight da...@l8s.co.uk wrote: On Sun, Feb 02, 2014 at 05:00:38PM -0500, Christos Zoulas wrote: Module Name: src Committed By:christos Date:Sun Feb 2 22:00:38 UTC 2014 Modified Files: