GithubHelp home page GithubHelp logo

simple-microkernel's Introduction

Table of contents

General info

This project is a simple Operation System for x86 architecture.
there are task scheduling, mutex, system calls and virtual memory implementations.
the project hierarchy is as follows:
/boot - anything related to booting and the boot sector (ASM)
/kernel - the kernel’s startup file, kernel.c, and other kernel related code such as system calls
/user_tasks - the user tasks implementation, which will use the OS abilities.

The /user_tasks comes with a pre-implemented example, showing simple system calls usage.

Technologies

The project is written in C and assembly.
it was compiled on Ubuntu 22.04.1 LTS , and tested using QEMU emulator.

Setup

To compile this project, you will need:
1.gcc ( was tested on version 11.3.0 )
2.nasm ( was tested on version 2.15.05)
to emulate this project, you will need:
1.Qemu emulating X86 machine ( was tested on qemu-system-x86_64 version 6.2.0. )

Run

In the root directory, there is a ./run shell file, which can be executed in order to compile the project:

./run.sh

After the execution, an image file named "os-image" will be created, which is the final binary file of the operation system.

then, the project can be run with Qemu using the command:

qemu-system-x86_64 -monitor stdio -D ./log.txt -d int -m 4000 os-image

This command will run the operation system on the emulator, and will also emit a log file named log.txt.
The log file can be viewed after the emulation, for debugging purposes.

simple-microkernel's People

Contributors

nitaykin avatar

Watchers

 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.