Skip to content

NaiveYu/xv6-public

This branch is 6 commits behind mit-pdos/xv6-public:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b818915 · Sep 2, 2018
Oct 15, 2008
Sep 5, 2011
Sep 21, 2009
Sep 5, 2011
Sep 5, 2007
Aug 30, 2018
Aug 30, 2018
Sep 7, 2006
Sep 2, 2018
Aug 4, 2014
Aug 30, 2018
Aug 9, 2017
Aug 10, 2016
Aug 25, 2016
Sep 12, 2016
Sep 19, 2016
Aug 9, 2017
Aug 27, 2007
Jun 30, 2015
Feb 2, 2017
Sep 3, 2008
Aug 24, 2007
Aug 29, 2017
Aug 10, 2016
Aug 10, 2016
Feb 1, 2017
Aug 28, 2007
Oct 24, 2017
Aug 29, 2017
Aug 31, 2018
Aug 29, 2017
Sep 2, 2016
Nov 23, 2009
Aug 25, 2016
Aug 9, 2017
May 31, 2009
Aug 11, 2016
Aug 9, 2017
Aug 29, 2017
Mar 8, 2009
Aug 14, 2007
Sep 2, 2011
Apr 3, 2015
Aug 30, 2018
Aug 22, 2007
Aug 9, 2017
Aug 25, 2016
Aug 30, 2018
Jan 31, 2017
Aug 30, 2018
Aug 28, 2007
Aug 25, 2016
Aug 30, 2018
Aug 9, 2017
Aug 29, 2014
Apr 10, 2015
Aug 9, 2017
Jan 31, 2017
Jul 13, 2009
Aug 31, 2018
Aug 24, 2012
Aug 29, 2017
Feb 1, 2017
Aug 28, 2007
Aug 30, 2018
Aug 30, 2018
Aug 29, 2014
Feb 20, 2011
Aug 25, 2016
Aug 22, 2007
Sep 6, 2006
Oct 12, 2007
Aug 30, 2018
Sep 12, 2016
Aug 30, 2018
Aug 25, 2016
Oct 12, 2007
Aug 28, 2012
Aug 25, 2016
Aug 25, 2016
Aug 30, 2018
Feb 1, 2017
Aug 23, 2012
Feb 1, 2017
Jan 31, 2017
Sep 2, 2011
Aug 28, 2007
Aug 29, 2017
Aug 9, 2017
Jul 28, 2010
Jul 26, 2010
Aug 9, 2017
Aug 31, 2018
Jan 11, 2011
Aug 31, 2018
Sep 26, 2016
Aug 11, 2010
May 31, 2009
Aug 30, 2018
Aug 28, 2012
Aug 25, 2016
Aug 25, 2016

Repository files navigation

xv6 is a re-implementation of Dennis Ritchie's and Ken Thompson's Unix
Version 6 (v6).  xv6 loosely follows the structure and style of v6,
but is implemented for a modern x86-based multiprocessor using ANSI C.

ACKNOWLEDGMENTS

xv6 is inspired by John Lions's Commentary on UNIX 6th Edition (Peer
to Peer Communications; ISBN: 1-57398-013-7; 1st edition (June 14,
2000)). See also https://pdos.csail.mit.edu/6.828/, which
provides pointers to on-line resources for v6.

xv6 borrows code from the following sources:
    JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, console.c, and others)
    Plan 9 (entryother.S, mp.h, mp.c, lapic.c)
    FreeBSD (ioapic.c)
    NetBSD (console.c)

The following people have made contributions: Russ Cox (context switching,
locking), Cliff Frey (MP), Xiao Yu (MP), Nickolai Zeldovich, and Austin
Clements.

We are also grateful for the bug reports and patches contributed by Silas
Boyd-Wickizer, Anton Burtsev, Cody Cutler, Mike CAT, Tej Chajed, eyalz800,
Nelson Elhage, Saar Ettinger, Alice Ferrazzi, Nathaniel Filardo, Peter
Froehlich, Yakir Goaron,Shivam Handa, Bryan Henry, Jim Huang, Alexander
Kapshuk, Anders Kaseorg, kehao95, Wolfgang Keller, Eddie Kohler, Austin
Liew, Imbar Marinescu, Yandong Mao, Matan Shabtay, Hitoshi Mitake, Carmi
Merimovich, Mark Morrissey, mtasm, Joel Nider, Greg Price, Ayan Shafqat,
Eldar Sehayek, Yongming Shen, Cam Tenny, tyfkda, Rafael Ubal, Warren
Toomey, Stephen Tu, Pablo Ventura, Xi Wang, Keiichi Watanabe, Nicolas
Wolovick, wxdao, Grant Wu, Jindong Zhang, Icenowy Zheng, and Zou Chang Wei.

The code in the files that constitute xv6 is
Copyright 2006-2018 Frans Kaashoek, Robert Morris, and Russ Cox.

ERROR REPORTS

Please send errors and suggestions to Frans Kaashoek and Robert Morris
(kaashoek,rtm@mit.edu). The main purpose of xv6 is as a teaching
operating system for MIT's 6.828, so we are more interested in
simplifications and clarifications than new features.

BUILDING AND RUNNING XV6

To build xv6 on an x86 ELF machine (like Linux or FreeBSD), run
"make". On non-x86 or non-ELF machines (like OS X, even on x86), you
will need to install a cross-compiler gcc suite capable of producing
x86 ELF binaries (see https://pdos.csail.mit.edu/6.828/).
Then run "make TOOLPREFIX=i386-jos-elf-". Now install the QEMU PC
simulator and run "make qemu".

Packages

No packages published

Languages

  • C 79.3%
  • C++ 4.9%
  • Assembly 4.1%
  • Makefile 3.6%
  • Shell 2.5%
  • Perl 2.2%
  • Other 3.4%