Giter Club home page Giter Club logo

armadillo's Introduction

Armadillo

OSPP (1DT096) 2018 - Project iota

Armadillo is a very simple operating system for the MIPS Malta board, created as a group project in Operating systems and process oriented programming (1DT096), spring 2018, Uppsala university.

Prerequisites

Getting started

The Makefile includes a bunch of rules to build, compile, run and test the system.

Compile

To compile the project, use compile. This compiles and creates object files in the obj directory, but does not build a binary.

> make compile
Compilation done...
Link and build

To create a binary, use the rule make build. This will, if necessary, compile and link the object files.

> make build
Linking the kernel...
Run

You can run Armadillo using the QEMU emulator.

> make run
Running armadillo.elf on qemu with flags: -M malta -m 256 -serial stdio
Tests

Unit tests are included. Run them with test.

> make test
...
All tests passed!
Debug

Debugging Armadillo requires GDB. Start by running the OS in debug mode, and then send the job to the background before starting GDB:

> make debug
[ctrl+z]
> bg
> make gdb

Structure

.
โ”œโ”€โ”€ Doxyfile
โ”œโ”€โ”€ Makefile
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ bin
โ”œโ”€โ”€ docs
โ”œโ”€โ”€ guidelines
โ”‚ย ย  โ”œโ”€โ”€ git.md
โ”‚ย ย  โ””โ”€โ”€ styleguide.md
โ”œโ”€โ”€ meta
โ”‚ย ย  โ”œโ”€โ”€ gruppkontrakt.md
โ”‚ย ย  โ”œโ”€โ”€ medlemmar.md
โ”‚ย ย  โ””โ”€โ”€ meetings
โ”œโ”€โ”€ obj
โ”œโ”€โ”€ src
โ”‚ย ย  โ”œโ”€โ”€ common
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ k_rand.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ memory.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ queue.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ stack.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ stdio.c
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ stdlib.c
โ”‚ย ย  โ”œโ”€โ”€ include
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ common
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ k_rand.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ math.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ memory.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ processes.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ queue.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ stack.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ stdint.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ stdio.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ stdlib.h
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ kernel
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ dispatcher.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ exceptions.h
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ pcb.h
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ mips
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ adresses.h
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ bitmasks.h
โ”‚ย ย  โ”‚ย ย      โ””โ”€โ”€ registers.h
โ”‚ย ย  โ”œโ”€โ”€ kernel
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ boot.S
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ context_switch.S
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ dispatcher.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ exceptions.S
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ kernel.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ pcb.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ processes.c
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ rand.S
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ timer.S
โ”‚ย ย  โ””โ”€โ”€ linker.ld
โ””โ”€โ”€ tests
    โ”œโ”€โ”€ include
    โ”‚ย ย  โ”œโ”€โ”€ minunit
    โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ unit.h
    โ”‚ย ย  โ”œโ”€โ”€ test_dispatcher.h
    โ”‚ย ย  โ”œโ”€โ”€ test_memory.h
    โ”‚ย ย  โ”œโ”€โ”€ test_stack.h
    โ”‚ย ย  โ””โ”€โ”€ test_stdlib.h
    โ”œโ”€โ”€ kernel
    โ”‚ย ย  โ”œโ”€โ”€ test_boot.S
    โ”‚ย ย  โ”œโ”€โ”€ test_exception.S
    โ”‚ย ย  โ””โ”€โ”€ test_kernel.c
    โ”œโ”€โ”€ linker.ld
    โ”œโ”€โ”€ test_dispatcher.c
    โ”œโ”€โ”€ test_main.c
    โ”œโ”€โ”€ test_memory.c
    โ”œโ”€โ”€ test_stack.c
    โ””โ”€โ”€ test_stdlib.c

Documentation

Here you'll find the documentation for Armadillo, along with some useful links.

armadillo's People

Contributors

fredrikjonasson avatar kamar535 avatar loveosslund avatar marr3 avatar pkrll avatar ulfsigvardsson avatar viktorlindholm avatar

Stargazers

 avatar  avatar  avatar

Watchers

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