MIT 6.828: https://pdos.csail.mit.edu/6.828/
Run jos and xv6 on macOS.
-
Install Homebrew need Xcode
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install
Git
brew install git
-
Install
qemu
brew install qemu
-
Install
i386-elf-gcc
andi386-jos-elf-gdb
brew tap liudangyi/i386-jos-elf-gcc brew install i386-jos-elf-gcc i386-jos-elf-gdb
git clone https://pdos.csail.mit.edu/6.828/2018/jos.git
git clone git://github.com/mit-pdos/xv6-public.git