GithubHelp home page GithubHelp logo

d0cd / riscv-pk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keystone-enclave/riscv-pk

0.0 1.0 0.0 1.31 MB

Security monitor for Keystone Enclave (mirror of riscv-pk)

License: Other

Shell 1.38% Makefile 1.83% C 77.97% Assembly 1.61% M4 0.68% C++ 3.92% Objective-C 12.35% CMake 0.26%

riscv-pk's Introduction

RISC-V Proxy Kernel and Boot Loader + Keystone SM

About

The RISC-V Proxy Kernel, pk, is a lightweight application execution environment that can host statically-linked RISC-V ELF binaries. It is designed to support tethered RISC-V implementations with limited I/O capability and and thus handles I/O-related system calls by proxying them to a host computer.

This package also contains the Berkeley Boot Loader, bbl, which is a supervisor execution environment for tethered RISC-V systems. It is designed to host the RISC-V Linux port.

This also contains the Keystone Security Monitor (SM) in sm.

Build Steps

We suggest building the bbl image using the top-level build in keystone.

If you wish to build the bbl independently, either: follow the build instructions here or follow the flow in the Makefile in keystone.

The top-level Makefile will always be the most up-to-date build instructions.

Test

Make sure that qemu-riscv64 is in your PATH. qemu-riscv64 can be compiled from the upstream qemu source v4.0.0 (try ./configure --target-list=riscv64-linux-user).

Current test only covers the security monitor, and exists as a separate build system.

cd sm/tests
mkdir build; cd build
cmake ..
make

... and run tests!

make test

To see the why your test fails the test, you should try

make test CTEST_OUTPUT_ON_FAILURE=TRUE

riscv-pk's People

Contributors

dayeol avatar aswaterman avatar yunsup avatar palmer-dabbelt avatar terpstra avatar ccelio avatar dkohlbre avatar colinschmidt avatar darius-bluespec avatar arunthomas avatar pmundkur avatar sbeamer avatar sdtwigg avatar sashimi-yzh avatar gkelly avatar zhemao avatar rishikhan avatar sagark avatar zongbox avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.