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

[Minios-devel] [UNIKRAFT PATCH v3 1/2] lib/ukmmap: Introduce mmap and related functions library skeleton



Signed-off-by: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx>
---
 lib/Makefile.uk          | 1 +
 lib/ukmmap/Config.uk     | 5 +++++
 lib/ukmmap/Makefile.uk   | 1 +
 lib/ukmmap/exportsyms.uk | 1 +
 4 files changed, 8 insertions(+)
 create mode 100644 lib/ukmmap/Config.uk
 create mode 100644 lib/ukmmap/Makefile.uk
 create mode 100644 lib/ukmmap/exportsyms.uk

diff --git a/lib/Makefile.uk b/lib/Makefile.uk
index a1697198..2ca9973f 100644
--- a/lib/Makefile.uk
+++ b/lib/Makefile.uk
@@ -31,3 +31,4 @@ $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uk9p))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/posix-libdl))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uklibparam))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uktime))
+$(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukmmap))
diff --git a/lib/ukmmap/Config.uk b/lib/ukmmap/Config.uk
new file mode 100644
index 00000000..f752da85
--- /dev/null
+++ b/lib/ukmmap/Config.uk
@@ -0,0 +1,5 @@
+config LIBUKMMAP
+       bool "ukmmap: mmap system call"
+       default n
+       select LIBUKALLOC
+       select LIBNEWLIBC
diff --git a/lib/ukmmap/Makefile.uk b/lib/ukmmap/Makefile.uk
new file mode 100644
index 00000000..8ac3ab3c
--- /dev/null
+++ b/lib/ukmmap/Makefile.uk
@@ -0,0 +1 @@
+$(eval $(call addlib_s,libukmmap,$(CONFIG_LIBUKMMAP)))
diff --git a/lib/ukmmap/exportsyms.uk b/lib/ukmmap/exportsyms.uk
new file mode 100644
index 00000000..621e94f0
--- /dev/null
+++ b/lib/ukmmap/exportsyms.uk
@@ -0,0 +1 @@
+none
-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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