Subject: CVS commit: [netbsd-3] src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 01/08/2007 22:31:28
Module Name: src
Committed By: tron
Date: Mon Jan 8 22:31:28 UTC 2007
Modified Files:
src/sys/arch/xen/xen [netbsd-3]: xencons.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1625):
sys/arch/xen/xen/xencons.c: revision 1.20
- Add or change memory barrier to reflect the related operation
- In xencons_handler(), update in_cons inside the loop, otherwise,
we would trigger the xenconscn_getc() workaround wich reset cons and prod
to their original values, and this creates an infinite loop
Should fix the console hang reported by several users on port-xen@.
To generate a diff of this commit:
cvs rdiff -r1.4.2.6 -r1.4.2.7 src/sys/arch/xen/xen/xencons.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.