Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
Public
HermitOS
kernel
Commits
6c05d8c6
Commit
6c05d8c6
authored
5 years ago
by
Stefan Lankes
Browse files
Options
Downloads
Patches
Plain Diff
add description to extend the unikernel
parent
d8a3f7af
No related branches found
No related tags found
No related merge requests found
Pipeline
#220255
passed
5 years ago
Stage: prepare
Stage: build
Stage: test
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Cargo.lock
+1
-1
1 addition, 1 deletion
Cargo.lock
Cargo.toml
+1
-1
1 addition, 1 deletion
Cargo.toml
README.md
+15
-0
15 additions, 0 deletions
README.md
with
17 additions
and
2 deletions
Cargo.lock
+
1
−
1
View file @
6c05d8c6
...
...
@@ -53,7 +53,7 @@ dependencies = [
[[package]]
name = "rusty-hermit"
version = "0.3.1
2
"
version = "0.3.1
3
"
dependencies = [
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
This diff is collapsed.
Click to expand it.
Cargo.toml
+
1
−
1
View file @
6c05d8c6
[package]
name
=
"rusty-hermit"
version
=
"0.3.1
2
"
version
=
"0.3.1
3
"
authors
=
[
"Stefan Lankes <slankes@eonerc.rwth-aachen.de>"
,
"Colin Finck <colin.finck@rwth-aachen.de>"
...
...
This diff is collapsed.
Click to expand it.
README.md
+
15
−
0
View file @
6c05d8c6
...
...
@@ -169,6 +169,21 @@ $ qemu-system-x86_64 -display none -smp 1 -m 64M -serial stdio -kernel path_to_
It is important to enable the processor features _fsgsbase_ and _rdtscp_ because it is a prerequisite to boot RustyHermit.
## Extending RustyHermit
The best way to extend the kernel is to work with the branch
*devel*
of the repository
[
rusty-hermit
](
https://github.com/hermitcore/rusty-hermit
)
.
It includes this repository as submodule and link the unikernel directly to the test application.
According to the following instructions, the test application can be found under
*target/x86_64-unknown-hermit/debug/rusty_demo*
.
```
sh
git clone https://github.com/hermitcore/rusty-hermit.git
cd
rusty-hermit
git submodule init
git submodule update
cargo build
-Z
build-std
=
std,core,alloc
--target
x86_64-unknown-hermit
```
## Use RustyHermit for C/C++, Go, and Fortran applications
This kernel can still be used with C/C++, Go, and Fortran applications.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment