No description
  • Rust 90.8%
  • C 6.6%
  • Shell 2.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-01-20 15:12:42 -07:00
.cargo Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
c Add more system calls 2019-01-20 15:12:42 -07:00
examples Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
src Add more system calls 2019-01-20 15:12:42 -07:00
syscall@a715b8cf97 Make the thing actually do work 2019-01-19 21:41:38 -07:00
.gitignore init 2019-01-19 10:58:23 -07:00
.gitmodules Make the thing actually do work 2019-01-19 21:41:38 -07:00
c.sh Add c example, implement fstat and open 2019-01-20 12:49:22 -07:00
Cargo.lock Make the thing actually do work 2019-01-19 21:41:38 -07:00
Cargo.toml Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
example.sh Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
README.md Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
rust-toolchain Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00
Xargo.toml Refactor and work on providing support for real binaries 2019-01-20 10:23:12 -07:00

rine

Rine is not an emulator. It is a system call translator for Redox binaries that runs on Linux. But hey, if it makes you feel better: "(R)edox (i)n a(n) (e)mulator" is fine too.

Trying it out

First, set up a Redox environment by running this inside of a redox repository:

make env

Next, build the example that uses Redox system calls:

xargo build --target x86_64-unknown-redox --example simple

Finally, run the example with rine:

cargo run target/x86_64-unknown-redox/debug/examples/simple

The example.sh script will do all of this for you.