Skip to content

Files

Latest commit

c072af3 · Mar 11, 2020

History

History

CZ2005

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 2, 2019
Oct 5, 2019
Oct 7, 2019
Oct 28, 2019
Oct 7, 2019

CZ2005 - Operating Systems (OS)

This contains the code, documentations and explanation for CZ2005
Added most of the logs and explanation because I'm frustrated with the lack of one online

TL;DR

  • Code has been added with many printf statements along the way to help with visualising how NachOS work
  • I have attached logs and PDF (and Google Sheets) to explain what is happening at each tick

Logs and Explanation

Logs (Only for Exercise 2)

  • Can be found in lab2/adrian_logs in the .txt file format
  • These logs are the actual logs exported from the console
  • Added for the functions TestValueOne and TestConsistency
  • No logs added for TestValueMinusOne as it is very similar to TestValueOne

Explaining the logs and what is happening at each tick (PDF)

  • Can be found in lab2/adrian_logs in the .pdf file format
  • Refer to the respective logs for reference
  • For TestConsistency(), the processes are broken into pieces and colour coded to improve readability

Explaining the logs and what is happening at each tick (Google Sheets)

https://docs.google.com/spreadsheets/d/1uD0-EUDeB5vLQ5G0ty4uBFruhZshrRdW7N5MOD-S2gc/edit?usp=sharing

Acknowledgments

  • Shout out to my buddy https://github.com/SoulXHades - a fair bit of code is copied done by him
  • The lack of online guide/documentation by anyone