cse430ASST0 - Questions about the OS/161 Kernel Listed...

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

View Full Document Right Arrow Icon
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Questions about the OS/161 Kernel Listed below are questions that you will need to answer and submit as part of this project. They will give you a much better insight to OS/161 while answering them. The sections of the source code where you can find relevant information for the question are listed before each set. kern/arch/mips/conf 1. The kernel for this assignment is configured to use a particular vm system. What is this vm system called? - It is called System/161 kern/arch/mips/include 2. Which register number is used for the stack pointer (sp) in OS/161?- kern\arch\mips\include\asmdefs.h(39):#define sp $29 /* stack pointer */ , Register number 29 is used for the stack pointer.
Background image of page 5

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

View Full DocumentRight Arrow Icon
3. What bus/busses does OS/161 support? - 1. lamebus (System main bus), 2. ltimer (Timer), 3. lrandom (Random), 4. lhd (Disk), 5. lser (Serial port), 6. lscreen (Text screen), 7. lnet (Network interface), 8. ltrace (Trace control device), 9. emu (Emulator passthrough filesystem) 4. What is the difference between splhigh and spl0? - These functions are used to modify the interrupt priority level. splhigh blocks all interrupts whereas spl0 unblocks all interrupts. 5. Why do we use typedefs like u_int32_t instead of simply saying int ?- The typedef allows us to alter the actual native type such a type name refers to in a single location without having to update it everywhere it is used. The C standard does not define a fixed size for the type int. Different environments/platforms have different values for sizeof(int). All we have to change is
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/01/2010 for the course CSE 430 taught by Professor Miller during the Spring '10 term at University of Arizona- Tucson.

Page1 / 9

cse430ASST0 - Questions about the OS/161 Kernel Listed...

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

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