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

[Minios-devel] [UNIKRAFT/PROTOBUF PATCH 1/4] Introduce library skeleton


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 30 Oct 2019 23:36:12 +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=YRujI4GSIjd33IHdBknmt4vUx0cSEHw66x3R/zBOv/8=; b=SoWb3mumBWIi1N3L6QYtJ2dWJusCEy3lxURNWhzIXQsMxi4BPWPj92c2TbEZcBEH64dCaqcz+ZvP2BBbK3D24zoI0I2lU2sxcouwgPzGWYmnWqbYaXmeNoxGt8WMoux/w34ao5drgDpqUeDQiYS0gfy7xO38X77t+YrTByjzeKOWQ3fYAelZ4KiZUR8U4CwAOfola2j8SoqZhylgAfp5BwWRwMjRWgfF4eWDum+6/qnn3MN35Scm+dLvUvWhspw2fxoqOaqbVSDpr8lkcpRRhxiZs3JgWTtHwDfz1v5RUdR1QTunOZ5gWeptwfnKUZiJ30wkPkGfaLSCz+XuBAWUmQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UDw6CqcVEOHt2HXG/+t5pVpqjMBeIRKKA1NWP9imMmT4oXmpPERbz5Q3bAoDuG3QUXJ3tajgLIefDm2uZOytahqoa+YJo6re9jF1zRz65pKxhuRLkVS9J6/0L8PicsnaCdmNvzSlryVFxM8NzFi6adHHiOFhTds96TG4ELjWBRCL4UdwnpbdeL+CyurMrIcdozfa8kuKppz2I0b+IihkxcD1rxu01oxUP45f18nJbr1cNzl6VcTXR9jlyKXYoatttC39+F/tbzsh7nq4iTMFUU6fT20Z8c4EeGd8lg4UEKJhwI9EwzeItOgnD8Jy9/cUZLTL0DGFX4ZXTx2THF8X8g==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 30 Oct 2019 23:36:23 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVj3rQD2POL662r06+gUjj+uUqmg==
  • Thread-topic: [UNIKRAFT/PROTOBUF PATCH 1/4] Introduce library skeleton

We use the BSD-3-Clause license for this library glue code. Currently,
only C++ is supported.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 .gitignore      | 27 +++++++++++++++++++++++++++
 CODING_STYLE.md |  4 ++++
 CONTRIBUTING.md |  4 ++++
 COPYING.md      | 30 ++++++++++++++++++++++++++++++
 Config.uk       | 10 ++++++++++
 MAINTAINERS.md  | 11 +++++++++++
 README.md       | 13 +++++++++++++
 7 files changed, 99 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 CODING_STYLE.md
 create mode 100644 CONTRIBUTING.md
 create mode 100644 COPYING.md
 create mode 100644 Config.uk
 create mode 100644 MAINTAINERS.md
 create mode 100644 README.md

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..75d2fd3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,27 @@
+*.depend
+*.o
+*.a
+*.d
+*.so
+*.orig
+*.rej
+*.bak
+*.swp
+*~
+,*
+\#*\#
+.\#*
+\#_*\#
+.\#_*
+!.gitignore
+.*
+
+# gnu global files
+GPATH
+GRTAGS
+GSYMS
+GTAGS
+
+# cscope files
+cscope.*
+ncscope.*
diff --git a/CODING_STYLE.md b/CODING_STYLE.md
new file mode 100644
index 0000000..5730041
--- /dev/null
+++ b/CODING_STYLE.md
@@ -0,0 +1,4 @@
+Coding Style
+============
+
+Please refer to the `CODING_STYLE.md` file in the main Unikraft repository.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..5f55eca
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,4 @@
+Contributing to Unikraft
+=======================
+
+Please refer to the `CONTRIBUTING.md` file in the main Unikraft repository.
diff --git a/COPYING.md b/COPYING.md
new file mode 100644
index 0000000..adceb01
--- /dev/null
+++ b/COPYING.md
@@ -0,0 +1,30 @@
+License
+=======
+
+Unikraft protobuf wrapper
+-----------------------
+
+This repository contains wrapper code to build protobuf with Unikraft.
+Each C code file in this repository should declare who is the
+copyright owner and under which terms and conditions the code is
+licensed. If such a licence note is missing, the following copyright
+notice will apply:
+
+       Copyright (c) 2019, University Politehnica of Bucharest. All rights 
+       reserved.
+
+       This library is free software; you can redistribute it and/or
+       modify it under the terms of the GNU Lesser General Public
+       License as published by the Free Software Foundation; either
+       version 2 of the License, or (at your option) any later version.
+       
+       This library is distributed in the hope that it will be useful,
+       but WITHOUT ANY WARRANTY; without even the implied warranty of
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+       Lesser General Public License for more details.
+       
+       You should have received a copy of the GNU Lesser General Public
+       License along with this library in the file COPYING.LIB;
+       if not, write to the Free Software Foundation, Inc.,
+       59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
diff --git a/Config.uk b/Config.uk
new file mode 100644
index 0000000..7b8f0f1
--- /dev/null
+++ b/Config.uk
@@ -0,0 +1,10 @@
+menuconfig LIBPROTOBUF
+    bool "Protobuf"
+    select UKSYSINFO
+    select LIBCXX
+    select LIBCOMPILER_RT_ATOMIC
+    select LIBPTHREAD_EMBEDDED
+    select UKUNISTD
+    select LIBUKTIME
+    select LIBNEWLIBC
+    default n
diff --git a/MAINTAINERS.md b/MAINTAINERS.md
new file mode 100644
index 0000000..911573c
--- /dev/null
+++ b/MAINTAINERS.md
@@ -0,0 +1,11 @@
+Maintainers List
+================
+
+For notes on how to read this information, please refer to `MAINTAINERS.md` in
+the main Unikraft repository.
+
+       PROTOBUF-UNIKRAFT
+       M:      Felipe Huici <felipe.huici@xxxxxxxxx>
+       M:      Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+       L:      minios-devel@xxxxxxxxxxxxx
+       F: *
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0605ff4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+benchmark for Unikraft
+===================
+
+This is the port of benchmark for Unikraft as external library.
+
+## Build
+Benchmark depends on the following libraries, that need to be added to 
`Makefile` in this order:
+* `pthreads`, e.g. `pthread-embedded`
+* CXX standard library, e.g. `libunwind`, `compiler-rt`, `libcxxabi`, `libcxx`
+* `libc`, e.g. `newlib`
+
+Please refer to the `README.md` as well as the documentation in the `doc/`
+subdirectory of the main unikraft repository.
-- 
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®.