Refine UART emulation
jserv opened this issue · 1 comments
jserv commented
tomu emulates a 16550A UART device with epoll.
epoll <──────── eventfd <─────╮
│
╭──────────────╮ │
read <─── │ │ │ fifo │ │ │ <─┴─ out
(nonblocking) ╰──────────────╯
╭──────────────╮
write ───> │ │ │ fifo │ │ │ ───> in
(nonblocking) ╰──────────────╯
It would be great if we can learn from this project.