CS350 Study Guide - Midterm Guide: University Of Waterloo, Memory Management, Global Variable

52 views14 pages
8 Oct 2014
Course
Professor

Document Summary

Student #: __ __ __ __ __ __ __ __ #include statements or semi-colons: if you need more space, use the last page, and indicate that you have done so in the original question. 9: a big gap after a question does not necessarily mean. Bonus that a long answer is expected: did you see in the marking guide there"s a bonus question? woo-hoo! Make sure you answer it at the end: relax! Question 1 [13 * 1 = 12 marks] Thread contexts occur purposefully and within functions ( subroutines ), so temp registers that are not preserved by subroutines do not have to (a) explain why registers k(cid:882) & k(cid:883) cannot be used (cid:523)even temporarily(cid:524) by gcc in. Os/(cid:883)(cid:888)(cid:883). k0 & k1 are overwritten by the kernel by the exception (interrupt) handler before the trap frame is stored. (b) explain why there are more registers stored in a trap frame than in a thread context.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents