GithubHelp home page GithubHelp logo

michaelengel / ose2023 Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 38 KB

Code for the course operating systems engineering at Uni Bamberg (Summer 2023)

Assembly 6.14% Shell 0.58% C 90.12% Makefile 3.16%

ose2023's Introduction

OSE2023

Code for the course operating systems engineering at Uni Bamberg (Summer 2023)

You need the following tools on a Unix-like system (Linux, macOS, Windows with WSL):

  • RISC-V 64 bit cross compilation toolchain (gcc or clang)

  • The qemu emulator

    • again, probably available as package in your Linux package manager (also on WSL)
    • qemu for macOS

Compile using the provided shellscript build.sh

Run the program using qemu-system-riscv64 -nographic -machine virt -smp 1 -bios none -kernel ./hello

You can attach a debugger by running qemu as follows: qemu-system-riscv64 -nographic -machine virt -smp 1 -bios none -kernel ./hello -S -s

In another terminal, you can then start the debugger: riscv64-unknown-elf-gdb hello and then at the (gdb) prompt enter target remote localhost:1234 to connect the debugger to the qemu emulator.

Useful links:

ose2023's People

Contributors

michaelengel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fyaunz

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.