[SOLVED] CSE231 - Operating Systems - Assignment 0

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (3 votes)

1           Setting-up Artix OS VM and Compiling the OS kernel (total points: 25)

The first assignment (A0) requires you to setup your testbench VM. The VM should not require too much resources – approximately 4 GB RAM, with 2 virtual CPU cores and about 20 GB of hard drive space.

You need to install Artix-base on that following the instructions on the site. The installation must be done using the text mode instructions (and not by using the GUI).

To make your life easier you would need to do the following after the installation:

  1. Enable ArchLinux repositories.
  2. Install the following packages: binutils, elfutils, gcc, gdb, make, automake, autoconf, yasm and vim.

Thereafter, you would require downloading the stock linux kernel and compiling and installing it on your testbench. Ensure that it boots up!

2           An Assembly Program (total points: 25)

Write a program in x86-64 assembly (in 64-bit mode) that:

  1. Takes a number and a string as input from the user’s console
  2. Prints the same number and same string to the user’s console
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.