9aa094a3d988393386a9aa0b12a3ffddc6456d57
[pintos-anon] / src / TODO
1 * malloc() needs to block until memory is available?
2
3 * Should we use a task gate for hardware interrupts?  Then we could
4   dedicate a stack to interrupt handling and not worry about interrupt
5   usage of kernel stacks.
6
7 * Filesystem dumps should include filehdrs?
8
9 * Cross-compile notes:
10
11 cd /tmp
12 bzcat ~/binutils-2.15.tar.bz2 | tar x
13 tar xzf newlib-1.12.0.tar.gz
14 tar xzf gcc-core-3.3.2.tar.gz
15 tar xzf gdb-6.2.1.tar.gz
16
17 PATH=$PATH:/usr/class/cs140/i386/bin
18
19 cd /tmp/binutils-2.15
20 mkdir i386
21 cd i386
22 ../configure --target=i386-elf --prefix=/usr/class/cs140/i386
23 make LDFLAGS=-lintl
24 make install
25
26 cd /tmp/gcc-core-3.3.2.tar.gz
27 mkdir i386
28 cd i386
29 ../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
30 make
31 make install
32
33 cd /tmp/gdb-6.2.1
34 mkdir i386
35 cd i386
36 ../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --disable-tui
37 make
38 make install