Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/arch/xen/include Pull up revision 1.3 (requested by b...
details: https://anonhg.NetBSD.org/src/rev/fb7dfd0c4777
branches: netbsd-3
changeset: 575616:fb7dfd0c4777
user: tron <tron%NetBSD.org@localhost>
date: Thu Apr 28 11:26:12 2005 +0000
description:
Pull up revision 1.3 (requested by bouyer in ticket #193):
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.
diffstat:
sys/arch/xen/include/ctrl_if.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r a81cbd1fa201 -r fb7dfd0c4777 sys/arch/xen/include/ctrl_if.h
--- a/sys/arch/xen/include/ctrl_if.h Thu Apr 28 11:26:06 2005 +0000
+++ b/sys/arch/xen/include/ctrl_if.h Thu Apr 28 11:26:12 2005 +0000
@@ -136,4 +136,10 @@
*/
void ctrl_if_discard_responses(void); /* !! DANGEROUS FUNCTION !! */
+/*
+ * message polling for use by xencons. Warning: this will reenable
+ * interrupts at splhigh.
+ */
+void ctrl_if_console_poll(void);
+
#endif /* __ASM_XEN__CONTROL_IF_H__ */
Home |
Main Index |
Thread Index |
Old Index