-
sudo apt-get install qemu
-
Open pintos/src/utils/pintos-gdb. Make the variable GDBMACROS point to pintos/src/misc/gdb-macros
i.e.
GDBMACROS=/home/....../pintos/src/misc/gdb-macros
. Note that it should point to the full path. -
cd pintos/src/utils make
-
cd pintos/src/threads make
-
Open pintos/src/utils/pintos and make the following changes:
- Line 259: Replace
kernel.bin
with/home/.../pintos/src/threads/build/kernel.bin
. Note that we're making it point to full path of kernel.bin
- Line 259: Replace
-
Open pintos/src/utils/Pintos.pm and make the following change:
- Line 362: Replace
loader.bin
with/home/.../pintos/src/threads/build/loader.bin
- Line 362: Replace
-
Open ~/.bashrc and add this to the last line:
export PATH=/home/.../pintos/src/utils:$PATH
-
source ~/.bashrc
-
pintos run alarm-multiple