Name | Modified | Size | Downloads / Week |
---|---|---|---|
zombie.c | 2011-04-01 | 215 Bytes | |
vm.c | 2011-04-01 | 8.6 kB | |
wc.c | 2011-04-01 | 821 Bytes | |
x86.h | 2011-04-01 | 3.6 kB | |
user.h | 2011-04-01 | 820 Bytes | |
usertests.c | 2011-04-01 | 28.0 kB | |
usys.S | 2011-04-01 | 461 Bytes | |
vectors.pl | 2011-04-01 | 989 Bytes | |
types.h | 2011-04-01 | 110 Bytes | |
uart.c | 2011-04-01 | 1.3 kB | |
ulib.c | 2011-04-01 | 1.2 kB | |
umalloc.c | 2011-04-01 | 1.7 kB | |
trap.c | 2011-04-01 | 2.5 kB | |
trapasm.S | 2011-04-01 | 662 Bytes | |
traps.h | 2011-04-01 | 1.5 kB | |
sysproc.c | 2011-04-01 | 1.0 kB | |
timer.c | 2011-04-01 | 938 Bytes | |
toc.ftr | 2011-04-01 | 512 Bytes | |
toc.hdr | 2011-04-01 | 290 Bytes | |
syscall.c | 2011-04-01 | 3.3 kB | |
syscall.h | 2011-04-01 | 485 Bytes | |
sysfile.c | 2011-04-01 | 6.8 kB | |
stat.h | 2011-04-01 | 322 Bytes | |
stressfs.c | 2011-04-01 | 758 Bytes | |
string.c | 2011-04-01 | 1.3 kB | |
swtch.S | 2011-04-01 | 461 Bytes | |
sign.pl | 2011-04-01 | 363 Bytes | |
spinlock.c | 2011-04-01 | 2.5 kB | |
spinlock.h | 2011-04-01 | 317 Bytes | |
runoff1 | 2011-04-01 | 2.3 kB | |
runoff.list | 2011-04-01 | 553 Bytes | |
runoff.spec | 2011-04-01 | 1 Byte | |
sh.c | 2011-04-01 | 8.3 kB | |
proc.h | 2011-04-01 | 3.2 kB | |
README | 2011-04-01 | 1.9 kB | |
rm.c | 2011-04-01 | 322 Bytes | |
runoff | 2011-04-01 | 4.8 kB | |
pr.pl | 2011-04-01 | 581 Bytes | |
printf.c | 2011-04-01 | 1.5 kB | |
proc.c | 2011-04-01 | 9.6 kB | |
mp.h | 2011-04-01 | 2.1 kB | |
param.h | 2011-04-01 | 573 Bytes | |
picirq.c | 2011-04-01 | 2.4 kB | |
pipe.c | 2011-04-01 | 2.4 kB | |
mkdir.c | 2011-04-01 | 327 Bytes | |
mkfs.c | 2011-04-01 | 5.6 kB | |
mmu.h | 2011-04-01 | 8.6 kB | |
mp.c | 2011-04-01 | 3.3 kB | |
ls.c | 2011-04-01 | 1.5 kB | |
main.c | 2011-04-01 | 2.6 kB | |
Makefile | 2011-04-01 | 5.5 kB | |
kbd.h | 2011-04-01 | 3.5 kB | |
kill.c | 2011-04-01 | 232 Bytes | |
lapic.c | 2011-04-01 | 5.2 kB | |
ln.c | 2011-04-01 | 264 Bytes | |
ioapic.c | 2011-04-01 | 2.1 kB | |
kalloc.c | 2011-04-01 | 1.4 kB | |
kbd.c | 2011-04-01 | 925 Bytes | |
ide.c | 2011-04-01 | 3.2 kB | |
init.c | 2011-04-01 | 649 Bytes | |
initcode.S | 2011-04-01 | 422 Bytes | |
gdbinit.tmpl | 2011-04-01 | 682 Bytes | |
gdbutil | 2011-04-01 | 5.7 kB | |
grep.c | 2011-04-01 | 1.9 kB | |
forktest.c | 2011-04-01 | 766 Bytes | |
fs.c | 2011-04-01 | 13.8 kB | |
fs.h | 2011-04-01 | 1.3 kB | |
fcntl.h | 2011-04-01 | 96 Bytes | |
file.c | 2011-04-01 | 2.2 kB | |
file.h | 2011-04-01 | 736 Bytes | |
dot-bochsrc | 2011-04-01 | 33.5 kB | |
echo.c | 2011-04-01 | 198 Bytes | |
elf.h | 2011-04-01 | 752 Bytes | |
exec.c | 2011-04-01 | 2.3 kB | |
cat.c | 2011-04-01 | 513 Bytes | |
console.c | 2011-04-01 | 5.1 kB | |
defs.h | 2011-04-01 | 4.9 kB | |
bootasm.S | 2011-04-01 | 3.2 kB | |
bootmain.c | 2011-04-01 | 2.3 kB | |
bootother.S | 2011-04-01 | 3.2 kB | |
buf.h | 2011-04-01 | 340 Bytes | |
asm.h | 2011-04-01 | 936 Bytes | |
bio.c | 2011-04-01 | 3.2 kB | |
_project | 2011-04-01 | 197 Bytes | |
Totals: 84 Items | 245.4 kB | 3 |
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/2007/v6.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 (bootother.S, mp.h, mp.c, lapic.c) FreeBSD (ioapic.c) NetBSD (console.c) The following people made contributions: Russ Cox (context switching, locking) Cliff Frey (MP) Xiao Yu (MP) Nickolai Zeldovich Austin Clements In addition, we are grateful for the patches contributed by Greg Price, Yandong Mao, and Hitoshi Mitake. The code in the files that constitute xv6 is Copyright 2006-2007 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/2007/tools.html. Then run "make TOOLPREFIX=i386-jos-elf-". To run xv6, you can use Bochs or QEMU, both PC simulators. Bochs makes debugging easier, but QEMU is much faster. To run in Bochs, run "make bochs" and then type "c" at the bochs prompt. 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/.