You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/08/12 12:55:55 UTC
[GitHub] [nuttx] acassis commented on pull request #10195: drivers/virtio: add virtio input driver
acassis commented on PR #10195:
URL: https://github.com/apache/nuttx/pull/10195#issuecomment-1675900524
> For the event codes you might want to check how they did it in Zephyr https://github.com/zephyrproject-rtos/zephyr/pull/54908/files#diff-9e6d0b58fe07f85bb9fd95b36737fb4151e132deb7f05ee8af6da5a15847b730
>
> The virtio driver itself I think you can take inspiration from FreeBSD & Fuchsia https://github.com/freebsd/freebsd-src/blob/543cf924bcdcf064fed417ec3d66000ef66194d2/usr.sbin/bhyve/pci_virtio_input.c https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/zircon/system/ulib/virtio/include/virtio/input.h
Yes, Zephyr copied from Android that is safe (it is Apache license as well).
FreeBSD and Fuchsia are BSD license that is less problematic than GPL
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org