This commit is contained in:
rsc 2007-08-28 19:30:23 +00:00
parent cffa954301
commit f040060092

8
README
View file

@ -4,14 +4,14 @@ but is implemented for a modern x86-based multiprocessor using ANSI C.
ACKNOWLEDGEMENTS ACKNOWLEDGEMENTS
xv6 is inspired by John Lions' Commentary on UNIX 6th Edition (Peer 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, 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 2000)). See also http://pdos.csail.mit.edu/6.828/2007/v6.html, which
provides pointers to on-line resources for v6. provides pointers to on-line resources for v6.
xv6 borrows code from the following sources: xv6 borrows code from the following sources:
JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, console.c, and others) JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, console.c, and others)
Plan 9 (bootother.S, mp.h, mp.c, ioapic.h, lapic.c) Plan 9 (bootother.S, mp.h, mp.c, lapic.c)
FreeBSD (ioapic.c) FreeBSD (ioapic.c)
NetBSD (console.c) NetBSD (console.c)
@ -37,8 +37,8 @@ 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. binaries. See http://pdos.csail.mit.edu/6.828/2007/tools.html.
Then run "make TOOLPREFIX=i386-jos-elf-". Then run "make TOOLPREFIX=i386-jos-elf-".
To run xv6, you can use Bochs or QEMU, both PC simulators. Bochs makes To run xv6, you can use Bochs or QEMU, both PC simulators.
debugging easier, but QEMU is much faster. 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 Bochs, run "make bochs" and then type "c" at the bochs prompt.
To run in QEMU, run "make qemu". Both log the xv6 screen output to To run in QEMU, run "make qemu". Both log the xv6 screen output to
standard output. standard output.