Skip to content
/ xv6 Public

Demonstrational implementation of extra xv6 features for classroom implementation

License

Notifications You must be signed in to change notification settings

arannya/xv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

EXTRA FEATURES
1. Addition of system calls.
2. Lottery Ticket Scheduler
3. Demand Paging
4. Copy-on-write forking
5. User-level threads

ORIGINAL DOCUMENTATION
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/2016/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, and Austin
Clements.

We are also grateful for the bug reports and patches contributed by Silas
Boyd-Wickizer, Mike CAT, Nelson Elhage, Nathaniel Filardo, Peter Froehlich,
Yakir Goaran, Shivam Handa, Bryan Henry, Jim Huang, Anders Kaseorg, kehao95,
Eddie Kohler, Imbar Marinescu, Yandong Mao, Hitoshi Mitake, Carmi Merimovich,
Joel Nider, Greg Price, Ayan Shafqat, Eldar Sehayek, Yongming Shen, Cam Tenny,
Rafael Ubal, Warren Toomey, Stephen Tu, Pablo Ventura, Xi Wang, Keiichi
Watanabe, Nicolas Wolovick, Jindong Zhang, and Zou Chang Wei.

The code in the files that constitute xv6 is
Copyright 2006-2016 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).  If you have
suggestions for improvements, please keep in mind that the main purpose of xv6
is as a teaching operating system for MIT's 6.828. For example, we are in
particular interested in simplifications and clarifications, instead of
suggestions for new systems calls, more portability, etc.

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/2016/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/.

About

Demonstrational implementation of extra xv6 features for classroom implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published