

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Team programming assignment 2 for csce 351 operating system course in fall 2001. Students are required to modify macros in mpx386.s, measure the change in code size and performance, and explain the better choice between macros and functions. Additionally, students must modify the minix bootstrap/loader code to provide the option of loading the original or evaluation kernels. Proper documentation and testing are essential for grading.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


In this assignment each team will modify the hwint_master and hwint_slave macros in mpx386.s so the operations now performed by the save function are performed inline.
Measure the change in code size due to making the change.
Measure the change in performance, if any due to the code change.
Are macros or functions better in this case? Explain.
Making the changes described above will require rebuilding the MINIX kernel. This is a very risky thing. If you make a mistake in the code change or in the build process, the system may simply not boot! A common technique to avoid losing everything is to always keep a “known, good” kernel from which you can boot. This can be done by making a boot diskette or by changing the boot/loader program to provide the option of loading the stable kernel or you new evaluation kernel.
For this assignment, modify the MINIX bootstrap/loader code achieve this goal. You should be prompted with choice of loading the original kernel or one of the evaluation kernels you have built.
The programs you hand in should work correctly and be documented. When you hand in your programming assignment, you should include:
Please hand in your source file(s), the Makefile, and your documentation using the Web handin program. If your program is handed in after 6:00 pm on November 12 it will considered late.
The program should be neatly formatted ( i.e. , easy to read) and structured and documented. Use the handin program to submit your program(s) for grading. This is assignment 2. Your grade will be determined as follows:
Program Listing works correctly 40% in-line documentation 15% quality of design/readability 25% Design Document 15% Thoroughness of test cases 05%