]> xenbits.xensource.com Git - unikraft/libs/click.git/log
unikraft/libs/click.git
3 years agoCorrect license headers introduced by NEC Laboratories Europe GmbH RELEASE-0.10.0 RELEASE-0.11.0 RELEASE-0.12.0 RELEASE-0.13.0 RELEASE-0.13.1 RELEASE-0.14.0 RELEASE-0.6 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Simon Kuenzer [Tue, 13 Jul 2021 19:22:18 +0000 (21:22 +0200)]
Correct license headers introduced by NEC Laboratories Europe GmbH

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 0769e78 - Initial public release: basic unikraft files (Florian Schmidt)
 f43b694 - Initial public release: FromDevice and ToDevice (Florian Schmidt)
 86682a0 - Initial public release: click.cc (Florian Schmidt)

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author(s) or an authorized representative from
the author's affiliation consents to the change with a
`Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #3

4 years agoAdd buffalign parameter for uk_netbuf_alloc_buf calls
Constantin Raducanu [Fri, 20 Nov 2020 15:55:32 +0000 (17:55 +0200)]
Add buffalign parameter for uk_netbuf_alloc_buf calls

Signed-off-by: Constantin Raducanu <raducanu.costi@gmail.com>
Reviewed-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #1

5 years agoAdd compile guards and a few suppress flags for a cleaner build. RELEASE-0.4
Felipe Huici [Fri, 14 Feb 2020 08:52:41 +0000 (09:52 +0100)]
Add compile guards and a few suppress flags for a cleaner build.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
5 years agoConfig.uk: Use LIBPOSIX_USER instead of UKUNISTD
Costin Lupu [Thu, 17 Oct 2019 15:26:01 +0000 (18:26 +0300)]
Config.uk: Use LIBPOSIX_USER instead of UKUNISTD

Also fix typo: LIBNEWLIB should have been LIBNEWLIBC

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoconfig: Add userlevel module option
Florian Schmidt [Wed, 5 Jun 2019 12:43:32 +0000 (14:43 +0200)]
config: Add userlevel module option

Add a menuconfig option to build Click with userlevel elements. Be aware
that this currently doesn't build because of missing header files.
Hence, this option is disabled by default.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoProvide MAC preamble
Florian Schmidt [Wed, 5 Jun 2019 12:43:31 +0000 (14:43 +0200)]
Provide MAC preamble

We create a config script snippet that defines a "MAC0", "MAC1", etc.
variable for each network device. This is prepended to the user-provided
config, so that users can use those variables to access the MAC
addresses of network devices.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agosupport for loading click configs
Florian Schmidt [Wed, 5 Jun 2019 12:43:30 +0000 (14:43 +0200)]
support for loading click configs

The expected way is to provide a (plain-text) config file as initrd. If
no initrd is provided, click will fall back to a static, compiled-in
config that replies to pings.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: Add exportsyms.uk
Florian Schmidt [Wed, 5 Jun 2019 12:43:29 +0000 (14:43 +0200)]
Initial public release: Add exportsyms.uk

This is a minimal set that should allow spawning click from an external
main function instead of using click's internal main().

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: patches to make click build with unikraft
Florian Schmidt [Wed, 5 Jun 2019 12:43:28 +0000 (14:43 +0200)]
Initial public release: patches to make click build with unikraft

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: FromDevice and ToDevice
Florian Schmidt [Wed, 5 Jun 2019 12:43:27 +0000 (14:43 +0200)]
Initial public release: FromDevice and ToDevice

The rough concept is taken from kohler/click/elements/minios, but is
then adapted to use unikraft instead of Mini-OS.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: stubs.cc for unfinished glue implementations
Florian Schmidt [Wed, 5 Jun 2019 12:43:26 +0000 (14:43 +0200)]
Initial public release: stubs.cc for unfinished glue implementations

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: click config-userlevel.h
Florian Schmidt [Wed, 5 Jun 2019 12:43:25 +0000 (14:43 +0200)]
Initial public release: click config-userlevel.h

We use userlevel mode for our unikraft click port. This config sets
options according to which features are available in unikraft.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: click.cc: ifdef out xen-specific code.
Florian Schmidt [Wed, 5 Jun 2019 12:43:24 +0000 (14:43 +0200)]
Initial public release: click.cc: ifdef out xen-specific code.

In the ClickOS port, this code mostly deals with providing a console for
interacting with Click. This initial release doesn't have such support,
but this could be revisited at a later point.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: click.cc
Florian Schmidt [Wed, 5 Jun 2019 12:43:23 +0000 (14:43 +0200)]
Initial public release: click.cc

This is taken from from kohler/click/minios/, with an updated copyright
header.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoInitial public release: basic unikraft files
Florian Schmidt [Wed, 5 Jun 2019 12:43:22 +0000 (14:43 +0200)]
Initial public release: basic unikraft files

Add Makefile, Makefile.uk, Config.uk, .gitignore, .md files

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
7 years agoinitial commit (empty)
Felipe Huici [Fri, 8 Dec 2017 09:43:38 +0000 (10:43 +0100)]
initial commit (empty)