Coder Social home page Coder Social logo

chiukapoor / xv6_systemcall Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 265 KB

Xv6 with a user defined System Call "getyear" and a User defined function "first_program"

License: Other

Makefile 3.53% C 84.54% C++ 1.16% Assembly 3.97% Perl 2.18% Objective-C 0.32% Shell 2.39% Ruby 1.08% OpenEdge ABL 0.84%
xv6 xv6-extensions systemcalls

xv6_systemcall's Introduction

Xv6_systemcall

Xv6 is an operating system developed by MIT for the learning purpose. It is an implementation of the Unix version 6 using ANSI C language for x86 platforms. It is a great resource for learning operating systems and many universities all over the world have already used it in their courses.

Here's how to run xv6 operating system on a QEMU virtual machine simply on top of a 64-bit Ubuntu 14.04 LTS machine. First, You have to install some tools and packages on our Ubuntu Linux system as follows.

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install gcc-multilib
sudo apt-get install qemu
sudo apt-get install git

Then clone the git

git clone https://github.com/C-Society/Xv6_systemcall.git

cd Xv6_systemcall

Change the privilages of file sign.pl

Chmod 770 sign.pl

As I have already done all the required things.Time to compile and run xv6 system on QEMU emulator.

make make qemu

Now a new Qemu window will open. Type command

ls

It will list all the commands. So basically I have included 2 programs in it.

  1. User defined program first_program whose output is

"Hello world this is our first program on Xv6"

  1. System call getyear whose output is

"The year in which the UNIX version of Xv6 is designed"

xv6_systemcall's People

Contributors

chiukapoor avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

seastwood

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.