diff options
author | rsc <rsc> | 2008-09-03 04:50:04 +0000 |
---|---|---|
committer | rsc <rsc> | 2008-09-03 04:50:04 +0000 |
commit | f53494c28e362fb7752bbc83417b9ba47cff0bf5 (patch) | |
tree | 7a7474710c9553b0188796ba24ae3af992320153 /web/x86-mmu.html | |
parent | ee3f75f229742a376bedafe34d0ba04995a942be (diff) | |
download | xv6-labs-f53494c28e362fb7752bbc83417b9ba47cff0bf5.tar.gz xv6-labs-f53494c28e362fb7752bbc83417b9ba47cff0bf5.tar.bz2 xv6-labs-f53494c28e362fb7752bbc83417b9ba47cff0bf5.zip |
DO NOT MAIL: xv6 web pages
Diffstat (limited to 'web/x86-mmu.html')
-rw-r--r-- | web/x86-mmu.html | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ +<title>Homework: x86 MMU</title> +<html> +<head> +</head> +<body> + +<h1>Homework: x86 MMU</h1> + +<p>Read chapters 5 and 6 of +<a href="../readings/i386/toc.htm">Intel 80386 Reference Manual</a>. +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. + +<p> +<b>Read</b>: bootasm.S and setupsegs() in proc.c + +<p> +<b>Hand-In Procedure</b> +<p> +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. +<p> + +<p><b>Assignment</b>: Try to understand setupsegs() in proc.c. + What values are written into <code>gdt[SEG_UCODE]</code> + and <code>gdt[SEG_UDATA]</code> for init, the first user-space + process? + (You can use Bochs to answer this question.) + +</body> |