Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 04/20/2005 22:01:25
Module Name:	src
Committed By:	bouyer
Date:		Wed Apr 20 22:01:25 UTC 2005

Modified Files:
	src/sys/arch/xen/include: ctrl_if.h intrdefs.h
	src/sys/arch/xen/xen: ctrl_if.c xencons.c

Log Message:
Add polling support to the domain controller. Use this in xencons instead
of relying on the fact that the domain controller is still getting interrupts
when xenconscn_getc()/xenconscn_putc() is called.
Now that polling is fixed, move IPL_CTRL down between IPL_SOFTSERIAL and
IPL_TTY, fixing port-xen/29999 by YAMAMOTO Takashi.
Now that IPL_CTRL is low enouth, remove the softintr stuff from the
domain controller, and call wakeup() directly.

Thanks to YAMAMOTO Takashi and Christian Limpach for feedback and suggestions.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/xen/include/ctrl_if.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/xen/include/intrdefs.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/xen/xen/ctrl_if.c \
    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.