Skip to content

rblaz001/xv6-public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thread Support for xv6

This project adds Kernel and User level thread support to xv6.

Installation

We suggest the use of docker and our Dockerfile to set up the xv6 environment.

docker build -t xv6 . && docker run -it xv6

Building QEMU

make qemu-nox # builds QEMU and enters shell for xv6

Using GDB

tmux # Use ctrl+b followed by % to split terminal horizontaly
     # Use ctrl+b followed by left or right arrow to switch between terminals

make qemu-nox-gdb # Use in first terminal
gdb -iex "set auto-load safe-path /xv6/.gdbinit" # Use in second terminal

Packages

No packages published

Languages

  • C 81.7%
  • C++ 4.5%
  • Assembly 3.5%
  • Makefile 3.1%
  • Shell 2.1%
  • Perl 1.9%
  • Other 3.2%