Xv6 homework 5

From Computer History Wiki
Revision as of 21:36, 5 October 2011 by Neozeed (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.)