Subject: CVS commit: [netbsd-2-0] src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 01/07/2005 15:54:20
Module Name: src
Committed By: jdc
Date: Fri Jan 7 15:54:20 UTC 2005
Modified Files:
src/sys/arch/xen/i386 [netbsd-2-0]: locore.S
Log Message:
Pull up revision 1.7 (requested by tls in ticket #1043).
HYPERVISOR_yield is one of the hypervisor calls that's "overloaded"; it
does different things depending what's in %ebx.
We weren't setting %ebx here *at all*; so we did not get SCHEDOP_yield,
which was what was wanted; so unpredictable things happened, notably
immediate return to the NetBSD idle loop, in other words spinning on CPU.
Definitely not cool!
Michael Kukat caught this one and suggested this fix on port-xen.
To generate a diff of this commit:
cvs rdiff -r1.2.2.2 -r1.2.2.3 src/sys/arch/xen/i386/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.