From f53494c28e362fb7752bbc83417b9ba47cff0bf5 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 3 Sep 2008 04:50:04 +0000 Subject: DO NOT MAIL: xv6 web pages --- web/x86-mmu.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 web/x86-mmu.html (limited to 'web/x86-mmu.html') diff --git a/web/x86-mmu.html b/web/x86-mmu.html new file mode 100644 index 0000000..a83ff26 --- /dev/null +++ b/web/x86-mmu.html @@ -0,0 +1,33 @@ +Homework: x86 MMU + + + + + +

Homework: x86 MMU

+ +

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

+Read: bootasm.S 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.) + + -- cgit v1.2.3