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

[Minios-devel] [UNIKRAFT PATCH 1/7] lib/9pfs: Add 9pfs skeleton


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Sat, 7 Sep 2019 09:59:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sa3RTwsSuCNGHidvYFRoIwRFWin3p9X76l683Gqkm9M=; b=QMJDFuCOBMYMjYe6VtWUdm3oHs0d5G4YehER7Fm7EjV+AbrUpUR7aCO1QeSZCUB0wjSbQX9g5EVOgiIOX3G4c1a0S5J2meHLbHaNF95Uke2HLQDbYyn1DlSHGwvYnZl0kkbXxcUNL6szUFYEqF4ymBcp4xHrolhHSzh3A7kbq0Cc+6GoGq2m+5YaCJCvgQ+aIEGwyxthfxJLJ/s3MytdBLGG3EogzlRJ3EKPOdnwMCPmk5lFpVCsg3AH2b9G5smAtRKT8lX+MWtZVon4MXbr1/JmD22kluKSJ5x300Z54+dfb/pyjuKBcKe8t/mF5MQ4CkSDnBtd6Z2HGjSEbRHykg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WUgFaMruE1BG24Vg3AGLSoZAIv8vbMGxKgCOUa6//Q1kKVmxzVPzbdVTjgOwRbCzJVkactb33Swv5f27dHlINdVT5gAMd3n8a17VdYrprY3OF3vOJz3o9DNGHYcQ1RUoXX+nhA9He2jUH93TZhjaQguB09dkN6zFubmZKWODFvpIFWAkkf1vGq5ulgajB9EyjMg2X67N+IwHav1LKaNMb9Q5hCeXjQufcpW49h1ipnwet0ZWxqvexxZaXjWKwS1B+O69u2QYzVUg1RwvRQvpUfUTnU5Q4I2OISuZiAwZjYfxJfzOrI7PIrpTygipvMgzwKVErGEf7CDAJMl8i/EwCw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>, Cristian Banu <cristb@xxxxxxxxx>
  • Delivery-date: Sat, 07 Sep 2019 10:00:02 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVZWL+hQbuoZBzuECGk2C216nrRg==
  • Thread-topic: [UNIKRAFT PATCH 1/7] lib/9pfs: Add 9pfs skeleton

From: Cristian Banu <cristb@xxxxxxxxx>

This patch adds the 9p filesystem as a separate library, placed
in the menuconfig under "vfscore", with other available filesystems.

Signed-off-by: Cristian Banu <cristb@xxxxxxxxx>
---
 lib/9pfs/Config.uk     | 5 +++++
 lib/9pfs/Makefile.uk   | 1 +
 lib/9pfs/exportsyms.uk | 1 +
 lib/Config.uk          | 1 +
 lib/Makefile.uk        | 1 +
 5 files changed, 9 insertions(+)
 create mode 100644 lib/9pfs/Config.uk
 create mode 100644 lib/9pfs/Makefile.uk
 create mode 100644 lib/9pfs/exportsyms.uk

diff --git a/lib/9pfs/Config.uk b/lib/9pfs/Config.uk
new file mode 100644
index 00000000..0fb3c765
--- /dev/null
+++ b/lib/9pfs/Config.uk
@@ -0,0 +1,5 @@
+config LIB9PFS
+       bool "9pfs: 9p filesystem"
+       default y
+       depends on LIBVFSCORE
+       depends on LIBUK9P
diff --git a/lib/9pfs/Makefile.uk b/lib/9pfs/Makefile.uk
new file mode 100644
index 00000000..e93ecc34
--- /dev/null
+++ b/lib/9pfs/Makefile.uk
@@ -0,0 +1 @@
+$(eval $(call addlib_s,lib9pfs,$(CONFIG_LIB9PFS)))
diff --git a/lib/9pfs/exportsyms.uk b/lib/9pfs/exportsyms.uk
new file mode 100644
index 00000000..621e94f0
--- /dev/null
+++ b/lib/9pfs/exportsyms.uk
@@ -0,0 +1 @@
+none
diff --git a/lib/Config.uk b/lib/Config.uk
index f3588aaf..30ec094d 100644
--- a/lib/Config.uk
+++ b/lib/Config.uk
@@ -43,6 +43,7 @@ source "lib/syscall_shim/Config.uk"
 source "lib/vfscore/Config.uk"
 source "lib/ramfs/Config.uk"
 source "lib/devfs/Config.uk"
+source "lib/9pfs/Config.uk"
 source "lib/uklock/Config.uk"
 source "lib/ukmpi/Config.uk"
 source "lib/ukswrand/Config.uk"
diff --git a/lib/Makefile.uk b/lib/Makefile.uk
index e62e60af..89a57d70 100644
--- a/lib/Makefile.uk
+++ b/lib/Makefile.uk
@@ -21,6 +21,7 @@ $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/syscall_shim))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/vfscore))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ramfs))
 $(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/ukbus))
-- 
2.20.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®.