Coder Social home page Coder Social logo

pandos-plus's Introduction

PandOS+

Introduction

Project for the Operating Systems course at the University of Bologna (A.Y. 2021-2022).

Description

PandOS+ is a didactic operating system for the MIPS architecture running on the µMPS3 emulator.
The project consists of three phases:

  • Phase 1: implementation of some basic data structures.
  • Phase 2: implementation of the kernel basic functionalities such as process scheduling, kernel mode system calls and interrupts handling.
  • Phase 3: implementation of the virtual memory manager and user processes handling.

Installation

µMPS3 emulator is required to run the operating system. Refer to the official wiki for the installation.
To compile the source code, a GCC cross-compiler to MIPS is also required (Note: it should come along with µMPS3).

Compiling

To compile the project run the following commands:

mkdir build
cd build
cmake -D CMAKE_TOOLCHAIN_FILE=../mips.cmake ..
make

mips.cmake contains the cross-compiler information.

Testing

Move into the build directory and compile the test programs by running:

cp -r ../phase3/test/{testers,umps3.json} .
make -C testers

Then load the umps3.json configuration into µMPS3. (Depending on the installation, some paths in umps3.json may need to be adjusted).
Since the test programs run concurrently and each of them outputs on different terminals, it is recommended to open all terminals (Windows > Terminal [0-7]) before starting the O.S.

Credits

The CMake file structure was written starting from the one of this project.

pandos-plus's People

Contributors

notxia avatar zaid1710 avatar malteon avatar ekenny3 avatar

Stargazers

Elia Friberg avatar  avatar  avatar

Watchers

 avatar  avatar

pandos-plus's Issues

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.