Hello all,

Last week was very productive. First of all, I've fixed all
issues related to interrupt handling, which resulted in fully
functional kconsole. There were also other new features such as:

* Timer-based scheduling
* Root/platform driver (rootleon3)
* AMBA bus driver (with AMBA P&P enumeration)
* GRLIB APBUART userspace driver (early implementation)

I've also modified GRLIB APBUART kernel driver to set
"fb.address.physical" properly, which allowed me to see
userspace output using output server and kchar driver.
However, that's very temporary solution.

I was investigating how to properly implement serial console
in userspace. I see two possibilities here:

a) adapt existing srv/hid/input and srv/hid/output to use
   UART character device node. Is it possible for two tasks
   to have opened char device simultaneously (one for reading
   only, other for writing only)?

b) create something like 'srv/hid/sercons' based on remcons
   which will create console service and connect input and
   output to serial port.

Approach a) is much better in terms of code duplication, as
srv/hid/output already implements things like terminal emulation
and srv/hid/input keyboard layouts, etc. But is it possible?

Regards,
Kuba

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to