Code Monkey home page Code Monkey logo

refos-manifest's Introduction

RefOS - Reference Design For A Microkernel Based Operating System

RefOS is a sample implementation of a simple multi-server operating system built on seL4.

The aim of RefOS is to:

  • Provide a reference design of a simple multi-server operating system built on seL4
  • Provide a sample implementation of how seL4 protocols can be used
  • Simplify development and porting of userland programs built on seL4
  • Serve as an example codebase to start new component-based seL4 projects

Features

  • Simple and light-weight operating system
  • Multi-server component based design
  • Process and thread abstraction
  • Dataspace abstraction
  • Shared memory support
  • Dynamic mmap and sbrk support
  • Userland serial and timer drivers
  • Sample user programs include:
    • Terminal - a simple terminal program
    • Tetris - a port of Micro Tetris
    • Snake - a snake game

NOTE: Please note that RefOS is intended to be only an example system, a work in progress, and is not to be deployed as a real operating system solution. RefOS is not verified, is not high assurance, is not optimised for speed and efficiency and may be missing most of the features one would expect in a deployable operating system environment.

Quick Start

Building RefOS

In order to build RefOS's codebase:

  1. Read: https://docs.sel4.systems/projects/buildsystem/host-dependencies.html Set up the environment (repo tool, cross compilers and build dependencies) as per the instructions on the page.

  2. repo init -u ssh://[email protected]/seL4/refos-manifest -b master

  3. repo sync

  4. Install the following packages (package named based on Ubuntu 14.04):

    sudo apt-get install python-tempita

  5. make help (to list the default configurations)

  6. make <config>, where <config> is one of the configurations listed with the <make help> command: eg. `make kzm_debug_test_defconfig``

  7. make silentoldconfig

  8. make

    You should now have a bootable system image (refos/images/refos-image).

  9. make simulate-kzm (or a different command depending on the configuration you chose, run <make help> to list the different configurations and how to run them)

Building The Design Document

Note that the design document has not been finished yet and is still a work in progress. Therefore, some details may differ slightly between the design document and RefOS's implementation.

In order to build the PDF design document:

  1. Clone the repository (see above).

  2. Install the following packages (package named based on Ubuntu 14.04):

sudo apt-get install texlive-latex-base mscgen texlive-latex-extra texlive-fonts-recommended

  1. make design

    This command builds the PDF documentation and provides a path to the document.

Building Doxygen Code Documentation

  1. Clone the repository (see above).

  2. Install the following packages (package named based on Ubuntu 14.04):

sudo apt-get install doxygen

  1. make docs

  2. In a web browser, open "docs/html/index.html"

No Warranty

Please note that RefOS is intended to be sample code and is not high assurance software. We are not responsible for any consequences if you choose to deploy this software in production.

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.