Description
Exercise #3
Read lesson 4 on installing XV6 and:
-
Install XV6 somewhere, perhaps in your home directory as either xv6 or xv6-public. Also make sure you have QEMU installed.
-
Implement for XV6 a user-space program to copy a file (the cp command) I would recommend looking at the
cat.c
file. -
Implement for XV6 a user-space program to sleep for N number of ticks (default of 0 ticks). On my machine it's about 100 ticks / second. Use the
sleep()
system call to sleep for some number of ticks.