Git Product home page Git Product logo

xv6's Introduction

xv6 is a learning OS Kernel. It completely decribes the basic working of a UNIX based system.
This is a reference guide for understanding and adding system calls in the kernel.
Here is a complete guide to install Ubuntu.
To start off first we must have git on our laptops to clone the official repo of xv6 by MIT.
Git install command:

sudo apt-get install git

Commands to install QEMU (an emulator) and cloning the xv6 repo:

sudo apt-get install qemu
sudo apt-get install libc6-dev:i386
git clone https://github.com/mit-pdos/xv6-public.git xv6
chmod 700 -R xv6

Test whether xv6 is installed by running the following:

cd xv6
make
make qemu

Congragulations, you've successfully installed xv6 on your computer!
Now, a system call is the programmatic way in which a computer program requests a service from the kernel of the operating system it is executed on. A system call is a way for programs to interact with the operating system.
Video references to begin with:

Some other references:
  • For adding clear (a system call to clear the terminal)
  • For adding shutdown (a system call to shutdown xv6)

I have uploaded a zip file of my project after adding these system calls.
To run my project, download the zip file, extract and run the make commands given above.
Enjoy!

Few helpful resources used:
Foo Soo: https://www.youtube.com/watch?v=DZ0-GMtOtEc
Tong Yu: https://www.youtube.com/watch?v=21SVYiKhcwM

xv6's People

Contributors

a-anurag27 avatar uddhavnavneeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.