1. piorekf
  2. Xv6

Source

Xv6 /

Filename Size Date modified Message
130 B
update .cvsignore
86 B
Setting indent-tabs-mode nil everywhere is dangerous
682 B
Use the symbol file
118 B
Sync up clean and gitignore better
128 B
sh
1.2 KB
Add MIT license file; update xv6-rev2.tar.gz with LICENSE.
7.7 KB
Re-alphabetize OBJS
4.0 KB
nit in console interrupts
1.9 KB
Update year in URL
3.9 KB
more doc tweaks
936 B
add some comments
3.3 KB
don't let dirty blocks be evicted from cache!
3.0 KB
comment nits
2.3 KB
Make the ELF entry point a physical address
340 B
Revert "Introduce and use sleeplocks instead of BUSY flags"
513 B
more consistent spacing
5.2 KB
Remove unused 'state' variable that broke the build in recent gcc's
934 B
delete unnecessary #include lines
5.3 KB
Make fetchint and fetchstr use proc instead of taking a struct proc
33.5 KB
make bochsrc work for bochs 2.2.6
198 B
Remove puts in favor of printf.
755 B
Make elf proghdr fields match what objdump prints
1.6 KB
more regular kmap[] and description
2.0 KB
Fix stale comments in entryother.S
2.3 KB
I can't do math; fix bug introduced in 5a9761
96 B
nit
2.8 KB
don't let dirty blocks be evicted from cache!
767 B
clarify some FS comments
766 B
Initial version of single-cpu xv6 with page tables
14.9 KB
more FS comment clarification
1.5 KB
clarify some FS comments
5.7 KB
GDB utilities
1.9 KB
add grep; add lost echo
3.2 KB
clarify some FS comments
649 B
group locks into structs they protect.
423 B
Remove sys_init syscall
2.1 KB
trap cleanup
2.1 KB
eliminate enter_alloc -- use kalloc for everything
925 B
be consistent: no underscores in function names
3.5 KB
formatting; split kbd constants into kbd.h
1.6 KB
Nuke data.S, since we do have a custom linker script.
232 B
tab police
5.2 KB
Fix weird pagebreak bug
264 B
add ln
4.5 KB
don't let dirty blocks be evicted from cache!
1.5 KB
Remove puts in favor of printf.
3.3 KB
Use | instead of + for entrypgdir. Linker doesn't get in our way here.
1.2 KB
missing file memide.c
828 B
more regular kmap[] and description
327 B
more consistent spacing
5.8 KB
Dirt simple logging
9.0 KB
Fix layout issues for printed version
3.4 KB
Avoid "boot" in xv6
2.1 KB
Simplify MP hardware code.
614 B
log write() data
2.4 KB
Get rid of the blank page in picirq.c. It misaligs things now.
2.4 KB
Revert "Introduce and use sleeplocks instead of BUSY flags"
581 B
remove //DOC in the right place
1.5 KB
spaces around else for rtm
9.9 KB
fix usertests to correctly test what happens when you call
3.0 KB
Avoid "boot" in xv6
322 B
more consistent spacing
5.0 KB
Fetch nice font from font branch, if possible
597 B
Remove data.S from runoff, too
2.6 KB
Note about the meaning of sheet1 in runoff.spec
2.3 KB
xv6: formatting, cleanup, rev5 (take 2)
8.3 KB
move jkstack to main.c
135 B
363 B
spacing fixes: no tabs, 2-space indents (for rtm)
2.0 KB
Model verifying that wakeup really
2.6 KB
Revert "Introduce and use sleeplocks instead of BUSY flags"
317 B
Revert "Introduce and use sleeplocks instead of BUSY flags"
240 B
Model verifying that wakeup really
300 B
move T_DIR etc into stat.h; move type up
1.0 KB
Update stressfs to trigger race now the logging code serializes writes
1.4 KB
Use stosl in memset; makes boot time bearable
461 B
move jkstack to main.c
3.8 KB
symlink implementation
3.4 KB
Make fetchint and fetchstr use proc instead of taking a struct proc
486 B
Remove sys_init syscall
7.2 KB
Make fetchint and fetchstr use proc instead of taking a struct proc
1.1 KB
Avoid "boot" in xv6
938 B
shuffle and tweak for formatting.
512 B
Update index example in TOC footer
290 B
nits
2.6 KB
Map kernel high
557 B
One definition of several macros and constants
1.5 KB
kill TLB shoot down code
110 B
some cleanup
1.3 KB
shuffle and tweak for formatting.
1.2 KB
make new code like old code
1.7 KB
make new code like old code
828 B
make new code like old code
31.8 KB
Fix compile error on newer gcc's
461 B
uptime() sys call for benchmarking
989 B
sync with c; .text is implied
9.5 KB
eliminate enter_alloc -- use kalloc for everything
821 B
more consistent spacing
3.3 KB
Remove unused x86.h definitions
215 B
delete unnecessary #include lines
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 (entryother.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-2011 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/2011/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/.