Giter Site home page Giter Site logo

srikardesu / enhanced-xv6-riscv Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.19 MB

An enhanced version of the XV6 OS for RISC-V, with additional system calls and various scheduling algorithms (FCFS, PBS and MLFQ) implemented.

License: Other

Emacs Lisp 0.03% Makefile 1.92% C 94.70% Assembly 3.08% Perl 0.26%

enhanced-xv6-riscv's Introduction

General Instructions :

This code is a modification of the xv-6 OS, and contains few extra syscalls like sys_trace, setpriority and also different types of schedulers which can be chosen during runtime.

There are also few helper user programs that invoke the syscalls and help in testing them. Waitx has been implemented and schedulertest.c has been added to test each scheduler.

To run :

First make clean make to always run in a clean state.

make clean

make

u can now select the scheduler to be run with, the default scheduler is the already implemented one which is round robin.

make qemu

or

make qemu SCHEDULER=RR

these help us to use the default scheduler.

make qemu SCHEDULER=FCFS

helps us to use first come first serve scheduler.

make qemu SCHEDULER=PBS

helps us to use the priority based scheduler.

make qemu SCHEDULER=MLFQ CPUS=1

helps us to run the multilevel feedback queue scheduler on 1 CPU.

enhanced-xv6-riscv's People

Contributors

kaashoek avatar rsc avatar phf avatar 4ge32 avatar anishathalye avatar aclements avatar mikecat avatar l0stman avatar xiw avatar takahirox avatar pmaddams avatar zeldovich avatar matt-har-vey avatar kannavkm avatar jrrk2 avatar d0iasm avatar zhuyu1997 avatar kimjungwow avatar kehao95 avatar flespark avatar amane-uehara avatar kolontsov avatar tchajed avatar srikardesu avatar saarett avatar rui314 avatar optimisticside avatar fintelia avatar beordle avatar icenowy 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.