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
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>
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>
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>
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>