GuptaShivam-ASST0 - Shivam Gupta CSE430 OS/161 Programming...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Shivam Gupta CSE430 OS/161 Programming Assignment - ASST0 Introduction to OS/161 1. Answers to the questions about the OS/161 kernel. 1. The kernel for this assignment is configured to use a particular vm system. What is this vm system called? The vm system configured to by the kernel is “dumbvm”. This can be found under conf.arch within the given directory. 2. Which register number is used for the stack pointer (sp) in OS/161? Register $29 is used for the stack pointer. 3. What bus/busses does OS/161 support? This operating system supports only LAMEbus. 4. What is the difference between splhigh and spl0? While splhigh sets the spl to the highest value, without allowing any interrupts, spl0 sets the spl to 0, enabling all interrupts. 5. Why do we use typedef s like u_int32_t instead of simply saying int? The typedefs are used to allow the compiler (gcc) to recognize the type. 6. What must be the first thing in the process-control block? The pcb_switchstack must be the first thing in the process-control block. 7. What does splx return? This function returns oldspl. The oldspl variable has been modified to be equivalent to the curspl (the current spl), which itself is later modified to be the newspl (the new spl). 8. What is the highest interrupt level?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/12/2010 for the course CSE 41412 taught by Professor Hassan during the Spring '10 term at University of Arizona- Tucson.

Page1 / 4

GuptaShivam-ASST0 - Shivam Gupta CSE430 OS/161 Programming...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online