Git Product home page Git Product logo

rise's Introduction

Rise

Build status

An experiment of kernel for 64-bit systems which focuses on learning how to build a better operating system.

Target architectures:

  • x86_64
  • RISC-V 64
  • aarch64

In the past there was a RISC-V implementation, but it was abandoned and later deleted in favor of the progress of the operating system per se. Once the operating system is mature enough, ports will be made to the rest of the target architectures.

BIG DISCLAIMER: Running on real hardware is not supported as of now.

Degree of emulation supported right now:

  • Linux
  • Run
  • Debug
  • Windows
  • Run
  • Debug
  • MacOS
  • Run
  • Debug

External dependencies to compile and run the code (executables your machine should have in the PATH variable)

  • The Zig compiler - This is required to compile and run the code. Apart from the kernel being written in Zig, Zig is used as a build system, so no platform-specific scripting language is needed.
  • QEMU - to load and execute the kernel in a virtual environment
  • GDB (only for debugging)

Internal dependencies

  • STB TTF

Next taks to be done

General

  • Improve the virtual memory manager: keep track of which virtual memory ranges are allocated
  • Write free functions for the kernel physical, virtual and heap allocators
  • Polish AHCI driver
  • Improve memory mapping and permissions
  • Implement basic syscalls
  • Implement a graphics driver
  • Make drivers work in userspace
  • Make the kernel PIE (Position-Independent Executable)

Boot process

x86_64

BIOS: MBR -> ELF32 loader (loads multiple files) | v (common): kernel initialization --(schedules)--> user space initializer ^ | UEFI: UEFI -> kernel

rise's People

Contributors

davidgm94 avatar

Stargazers

 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.