Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/sys/arch/xen/xen



Module Name:    src
Committed By:   tron
Date:           Tue May  9 12:57:59 UTC 2006

Modified Files:
        src/sys/arch/xen/xen [netbsd-3]: xencons.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1305):
        sys/arch/xen/xen/xencons.c: revision 1.15
Fix a race between xenconscn_getc() and xencons_handler() (which seems to be
triggered by recent xen3 hypervisor or tools): check sc->polling in
xencons_handler() and just return if set. Also, run xenconscn_getc() and putc()
at spltty().
While there, mark xencons_interface as volatile and use __UNVOLATILE() where
appropriate; and update the pointers in xencons_handler() if xenconscn_getc()
changed them (avoids replaying ddb commands in shell if ddb got called
by the magic string).


To generate a diff of this commit:
cvs rdiff -r1.4.2.5 -r1.4.2.6 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.




Home | Main Index | Thread Index | Old Index