[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 0/7] Unikraft Character Device API
This patch series introduces the character device API, which provides a generic interface between character device drivers (such as Xen console front and VirtIO console device) and the user of the API. In order for the drivers to register to the API, they need to include and use the definitions in consdev_driver.h and to implement the functions in uk_consdev_ops. The API user has first to configure the device, including the tx and rx queues, and start the device before being able to write to/read from it. Birlea Costin (7): lib/ukconsdev: Introduce Consdev library skeleton lib/ukconsdev: Register console device lib/ukconsdev: Get console device info/capabilities/etc lib/ukconsdev: Configure console device lib/ukconsdev: Start console device lib/ukconsdev: Read/Write from console device lib/ukconsdev: Enable interrupts on console device lib/Config.uk | 1 + lib/Makefile.uk | 1 + lib/ukconsdev/Config.uk | 20 ++ lib/ukconsdev/Makefile.uk | 6 + lib/ukconsdev/consdev.c | 501 ++++++++++++++++++++++++++++++ lib/ukconsdev/exportsyms.uk | 21 ++ lib/ukconsdev/include/uk/consdev.h | 362 +++++++++++++++++++++ lib/ukconsdev/include/uk/consdev_core.h | 267 ++++++++++++++++ lib/ukconsdev/include/uk/consdev_driver.h | 109 +++++++ 9 files changed, 1288 insertions(+) create mode 100644 lib/ukconsdev/Config.uk create mode 100644 lib/ukconsdev/Makefile.uk create mode 100644 lib/ukconsdev/consdev.c create mode 100644 lib/ukconsdev/exportsyms.uk create mode 100644 lib/ukconsdev/include/uk/consdev.h create mode 100644 lib/ukconsdev/include/uk/consdev_core.h create mode 100644 lib/ukconsdev/include/uk/consdev_driver.h -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |