Skip to content

GusSand/xv6-public-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

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 http://pdos.csail.mit.edu/6.828/2014/xv6.html, 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
    Austin Clements

In addition, we are grateful for the bug reports and patches contributed by
Silas Boyd-Wickizer, Peter Froehlich, Shivam Handa, Anders Kaseorg, Eddie
Kohler, Yandong Mao, Hitoshi Mitake, Carmi Merimovich, Joel Nider, Greg Price,
Eldar Sehayek, Yongming Shen, Stephen Tu, and Zouchangwei.

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

ERROR REPORTS

If you spot errors or have suggestions for improvement, please send
email to Frans Kaashoek and Robert Morris (kaashoek,rtm@csail.mit.edu). 

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 http://pdos.csail.mit.edu/6.828/2014/tools.html.
Then run "make TOOLPREFIX=i386-jos-elf-".

To run xv6, install the QEMU PC simulators.  To run in QEMU, run "make qemu".

To create a typeset version of the code, run "make xv6.pdf".  This
requires the "mpage" utility.  See http://www.mesa.nl/pub/mpage/.