Nov-24: I have posted both sample exam questions (see the Documents page) and an update to the Readings page, including pointers to material that address how interrupt handling and kernel traps work.
Nov-24: The absolute, true, final deadline for Project-6 is Monday, Dec-02, 11:59 pm. I will be gathering your submissions and starting the grading, so no extensions or late submissions after that.
Nov-19: I've written one more test case that you can compile and use in doing Project-6. Download it here: index-test.c
Nov-14: There is an error in my vmsim.c code! Specifically, in both vmsim_read_real() and vmsim_write_real(), there is an assertion that reads:
assert(end < real_limit);
This is wrong! real_limit is the address of the first byte after the real space, while end is the address of the first byte after the sequence of bytes to be read/written. That is, they're both markers of just-beyond-the-last, and so if they're equal, then the operation still falls within the range of the real space. So in both places, the assertion should be:
assert(end <= real_limit);