Update docs.
[pintos-anon] / src / TODO
index 72126d5c71570d32152c0db69403107ccd4adec8..a234cfc77a0f448db75f71f6f48b8a3f9d817f4a 100644 (file)
--- a/src/TODO
+++ b/src/TODO
@@ -1,7 +1,52 @@
-* malloc() needs to block until memory is available?
+* Add stats.
 
-* Should we use a task gate for hardware interrupts?  Then we could
-  dedicate a stack to interrupt handling and not worry about interrupt
-  usage of kernel stacks.
+* Write, test VM.
+
+* Handling of read-only pages?
+
+* Test list, hash ADTs.
+  - Finish comments for hash.[ch].
+
+* References/bibliography.
+  - Userprog refers to [SysV-i386].
+
+* Write "tour".
+
+----------------------------------------------------------------------
+
+* Cygwin support:
+  - PE linker scripts?  Doesn't seem to support ELF ones.
+  - .S files need _ prefixes on symbols.
 
 * Filesystem dumps should include filehdrs?
+
+* Cross-compile notes:
+
+cd /tmp
+bzcat ~/binutils-2.15.tar.bz2 | tar x
+tar xzf newlib-1.12.0.tar.gz
+tar xzf gcc-core-3.3.2.tar.gz
+tar xzf gdb-6.2.1.tar.gz
+
+PATH=$PATH:/usr/class/cs140/i386/bin
+
+cd /tmp/binutils-2.15
+mkdir i386
+cd i386
+../configure --target=i386-elf --prefix=/usr/class/cs140/i386
+make LDFLAGS=-lintl
+make install
+
+cd /tmp/gcc-core-3.3.2.tar.gz
+mkdir i386
+cd i386
+../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --with-gnu-as --with-as=/usr/class/cs140/i386/bin/i386-elf-as --with-gnu-ld --with-ld=/usr/class/cs140/i386/bin/i386-elf-ld --with-headers=/tmp/newlib-1.12.0/newlib/libc/include --with-newlib
+make
+make install
+
+cd /tmp/gdb-6.2.1
+mkdir i386
+cd i386
+../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --disable-tui
+make
+make install