Skip to content

Commit

Permalink
Introduce library skeleton
Browse files Browse the repository at this point in the history
We use the BSD-3-Clause license for this library glue code.

Signed-off-by: Felipe Huici <[email protected]>
Reviewed-by: Jia He <[email protected]>
  • Loading branch information
felipehuici committed Sep 17, 2019
1 parent d9a0d86 commit da7bb3c
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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.*
4 changes: 4 additions & 0 deletions CODING_STYLE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Coding Style
============

Please refer to the `CODING_STYLE.md` file in the main Unikraft repository.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contributing to Unikraft
========================

Please refer to the `CONTRIBUTING.md` file in the main Unikraft repository.
39 changes: 39 additions & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
License
=======

Unikraft lua wrappers
----------------------------------

This repository contains wrapper code to build lua 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) Year, Institution. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

4 changes: 4 additions & 0 deletions Config.uk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
config LIBLUA
bool "The Lua programming language"
default n
depends on HAVE_LIBC
11 changes: 11 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Maintainers List
================

For notes on how to read this information, please refer to `MAINTAINERS.md` in
the main Unikraft repository.

LIBPCRE-UNIKRAFT
M: Felipe Huici <[email protected]>
M: Simon Kuenzer <[email protected]>
L: [email protected]
F: *
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
lua for Unikraft
=============================

This is the port of lua for Unikraft as external library. By default,
when running the port will go into interactive mode. Alternatively,
you can run a script from a file if passed as a initrd parameter.

Please refer to the `README.md` as well as the documentation in the `doc/`
subdirectory of the main unikraft repository.
1 change: 1 addition & 0 deletions exportsyms.uk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
none

0 comments on commit da7bb3c

Please sign in to comment.