Difference between revisions of "Xv6 homework 5"

From Computer History Wiki
Jump to: navigation, search
(Created page with "Since this has gone missing.... <pre> Lecture 5 homework Read chapters 5 and 6 of Intel 80386 Reference Manual. These chapters explain the x86 Memory Management Unit (MMU), whic...")
 
m (+cat)
 
Line 13: Line 13:
 
You are to turn in this homework during lecture. Please write up your answers to the exercises below and hand them in to a 6.828 staff member by the beginning of lecture.
 
You are to turn in this homework during lecture. Please write up your answers to the exercises below and hand them in to a 6.828 staff member by the beginning of lecture.
  
Assignment: Try to understand setupsegs() in proc.c. What values are written into gdt[SEG_UCODE] and gdt[SEG_UDATA] for init, the first user-space process? (You can use Bochs to answer this question.)</pre>
+
Assignment: Try to understand setupsegs() in proc.c. What values are written into gdt[SEG_UCODE] and gdt[SEG_UDATA] for init, the first user-space process? (You can use Bochs to answer this question.)
 +
</pre>
 +
 
 +
[[Category: Documentation]]

Latest revision as of 15:56, 30 December 2018

Since this has gone missing....

Lecture 5 homework

Read chapters 5 and 6 of Intel 80386 Reference Manual. These chapters explain the x86 Memory Management Unit (MMU), which we will cover in lecture today and which you need to understand in order to do lab 2.

Handed out: Wednesday, September 21, 2005
Due: Wednesday, September 28, Oct 3, 2005
Read: bootasm.c and setupsegs() in proc.c

Hand-In Procedure

You are to turn in this homework during lecture. Please write up your answers to the exercises below and hand them in to a 6.828 staff member by the beginning of lecture.

Assignment: Try to understand setupsegs() in proc.c. What values are written into gdt[SEG_UCODE] and gdt[SEG_UDATA] for init, the first user-space process? (You can use Bochs to answer this question.)