[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT PATCH,v2,14/15] lib/ukring: Register ukring with Unikraft



This commit registers the simple ring buffer implementation micro-
library with Unikraft by including it in the globa library list
and exports the ring buffer's main functions.

Signed-off-by: Alexander Jung <alexander.jung@xxxxxxxxx>
---
 lib/Makefile.uk          |  1 +
 lib/ukring/exportsyms.uk | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 lib/ukring/exportsyms.uk

diff --git a/lib/Makefile.uk b/lib/Makefile.uk
index 360fcd8..4fd222d 100644
--- a/lib/Makefile.uk
+++ b/lib/Makefile.uk
@@ -25,6 +25,7 @@ $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/devfs))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/9pfs))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uklock))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukmpi))
+$(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukring))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukbus))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uksglist))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uknetdev))
diff --git a/lib/ukring/exportsyms.uk b/lib/ukring/exportsyms.uk
new file mode 100644
index 0000000..7561724
--- /dev/null
+++ b/lib/ukring/exportsyms.uk
@@ -0,0 +1,12 @@
+uk_ring_alloc
+uk_ring_free
+uk_ring_enqueue
+uk_ring_dequeue
+uk_ring_dequeue_single
+uk_ring_advance_single
+uk_ring_putback_single
+uk_ring_peek
+uk_ring_peek_clear_single
+uk_ring_full
+uk_ring_empty
+uk_ring_count
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.