Skip to content

Instantly share code, notes, and snippets.

View Bogdan-Ciurea's full-sized avatar
🎵
Working from home

Bogdan Ciurea Bogdan-Ciurea

🎵
Working from home
  • University of Leeds
  • Leeds, UK
View GitHub Profile
@Bogdan-Ciurea
Bogdan-Ciurea / cloudSettings
Last active May 25, 2021 10:36
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-05-25T10:36:38.055Z","extensionVersion":"v3.4.3"}

My Shell

The next program is intended to simulate a terminal/command shell in the XV6 Operating System. This program was written for a coursework from University.

How to use

In order to use the code you will have to git clone https://github.com/mit-pdos/xv6-riscv on your local machine. In the Makefile add the following code on line 130: $U/_mysh\ . Then run make, make qemu. After the files have been compiled the terminal should display the next text: hart 2 starting

My Malloc and Free

The next program is intended to simulate a malloc and a free in the XV6 Operating System. This program was written for a coursework from University.

How to use

In order to use the code you will have to git clone https://github.com/mit-pdos/xv6-riscv on your local machine. In the Makefile add the following code on line 130: $U/_memory_management\ . Then run make, make qemu. After the files have been compiled the terminal should display the next text: hart 2 starting