Skip to content

gz/rust-rumpkernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Rumpkernel

Builds rumpkernel sources as a rust crate for convenient use in your rust project.

build.rs

The build roughly the following steps as part of the build.rs script:

git clone https://github.com/gz/rumprun.git
git checkout netbsd-8
git submodule update --init --depth 1
./build-rr.sh -j12 nrk -- -F "CFLAGS=-w -fcommon"

Interesting defines (in build-rr.sh)

https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/rump/README.compileopts

RUMP_CURLWP=hypercall (slower) or RUMP_CURLWP=__thread (faster)

Works on >1 cores: RUMP_DIAGNOSTIC

Doesn't work with cores > 1: RUMP_LOCKDEBUG RUMP_DEBUG

About

Rumpkernel for use in rust projects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages