Skip to content

jinmel/pintos_mac

 
 

Repository files navigation

Pintos on Mac

Pintos Mac - Pintos on Mac

Contact:

Jeremy Mao(maojie[AT]me.com or yujie.mao[AT]intel.com)

Jin Suk Park(jinmel[AT]postech.ac.kr)

Homepage: https://github.com/maojie/pintos_mac

Overview

Pintos initial code to successfully compile and simulate on Mac using QEMU i386 simulator. For more documentation, refer to Pintos Documentation Homepage

Prerequisites

  1. Mac OS X Mavericks or higher
  2. Homebrew

Setting up your environment

  1. Install QEMU. Make sure you are using QEMU 2.0.0 or greater or Pintos may not shut down correctly.
brew install qemu
  1. Install i386-elf-gcc and i386-elf-gdb cross compiler toolchain.
brew install homebrew/versions/gcc49
brew install altkatz/gcc_cross_compilers/i386-elf-gcc
brew install altkatz/gcc_cross_compilers/i386-elf-gdb

Changes to pintos source

  • devices/shutdown.c:shutdown_power_off

  • Make.config

    • Set compiler to i386-elf-gcc.
  • threads/Make.vars

    • Set SIMULATOR=--qemu to force qemu on make check.

About

stanford pintos operating system on mac

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.1%
  • Perl 15.9%
  • Assembly 2.9%
  • Prolog 1.9%
  • C++ 1.7%
  • Shell 0.2%
  • Other 0.3%