Subject: CVS commit: src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Thor Lancelot Simon <tls@netbsd.org>
List: source-changes
Date: 12/13/2004 19:33:56
Module Name:	src
Committed By:	tls
Date:		Mon Dec 13 19:33:56 UTC 2004

Modified Files:
	src/sys/arch/xen/i386: locore.S

Log Message:
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.6 -r1.7 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.