Fall 2020

2 min read Original article ↗

Xv6, a simple Unix-like teaching operating system

Introduction

Xv6 is a teaching operating system developed in the summer of 2006, which we ported xv6 to RISC-V for a new undergraduate class 6.S081.

Xv6 sources and text

The latest xv6 source and text are available via

git clone git://github.com/mit-pdos/xv6-riscv.git

and

git clone git://github.com/mit-pdos/xv6-riscv-book.git

Unix Version 6

xv6 is inspired by Unix V6 and by:

The following are useful to read the original code:

  • The PDP11/40 Processor Handbook, Digital Equipment Corporation, 1972.
    • A PDF (made from scanned images, and not text-searchable)
    • A web-based version that is indexed by instruction name.

Feedback

If you are interested in using xv6 or have used xv6 in a course, we would love to hear from you. If there's anything that we can do to make xv6 easier to adopt, we'd like to hear about it. We'd also be interested to hear what worked well and what didn't.

Russ Cox (rsc@swtch.com)
Frans Kaashoek (kaashoek@mit.edu)
Robert Morris (rtm@mit.edu)

You can reach all of us at 6.S081-staff@pdos.csail.mit.edu.


Questions or comments regarding S6.081? Send e-mail to the course staff at 6S081@lists.csail.mit.edu.

Creative Commons License Top // S6.081 home // Last updated Thursday, 04-Sep-2025 23:15:04 EDT