Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   manu
Date:           Sat Nov 29 01:33:40 UTC 2025

Modified Files:
        src/sys/arch/x86/x86: consinit.c
        src/sys/dev/usb: ucom.c ucomvar.h

Log Message:
console support for ucom(4)

console over ucom(4) is enabled by using "kconsdev ucom0" in boot prompt
or in boot.cfg. Speed defaults to 115200, but can be specified like this:
"kconsdev uom0,19200"

Early boot is silent, until ucom(4) gets attached.
boot -a and DDB are supported and work well on real hardware
In Qemu, DDB works, but boot -a randomly hangs on prompts

This contribution sticks to existing USB stack practice of skipping
locks when polling. riastradh@ asked for improvement here, but adressing
this requires a larger rework than just ucom(4) console code.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/x86/x86/consinit.c
cvs rdiff -u -r1.149 -r1.150 src/sys/dev/usb/ucom.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/ucomvar.h

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