Pintos 笔记

安装

  1. 安装依赖:sudo apt install qemu-system-i386

  2. 最新的代码git clone git://pintos-os.org/pintos-anon

  3.  export GDBMACROS=$PINTOSHOME/src/misc/gdb-marcos
     export PATH=$PATH:$PINTOSHOME/src/utils
    
  4. cd src/utils && make

  5. 按照这里

    comment out #include <stropts.h> in both squish-pty.c and squish-unix.c, and comment out lines 288-293 in squish-pty.c.

  6. pintos --qemu --