[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 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 transmit to/receive from it. Changes since v2: - Added extra comments to some API calls - Renamed functions/data types - Removed close function 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: Receive/Transmit from console lib/ukconsdev: Enable interrupts on console device lib/Makefile.uk | 1 + lib/ukconsdev/Config.uk | 20 ++ lib/ukconsdev/Makefile.uk | 6 + lib/ukconsdev/consdev.c | 488 ++++++++++++++++++++++++++++++ lib/ukconsdev/exportsyms.uk | 20 ++ lib/ukconsdev/include/uk/consdev.h | 362 ++++++++++++++++++++++ lib/ukconsdev/include/uk/consdev_core.h | 263 ++++++++++++++++ lib/ukconsdev/include/uk/consdev_driver.h | 109 +++++++ 8 files changed, 1269 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 |