├── .cvsignore ├── .dir-locals.el ├── .gdbinit.tmpl ├── .gitignore ├── BUGS ├── LICENSE ├── Makefile ├── Notes ├── README ├── README.md ├── TRICKS ├── asm.h ├── bio.c ├── bootasm.S ├── bootmain.c ├── buf.h ├── cat.c ├── console.c ├── cuth ├── date.h ├── defs.h ├── dot-bochsrc ├── echo.c ├── elf.h ├── entry.S ├── entryother.S ├── exec.c ├── fcntl.h ├── file.c ├── file.h ├── forktest.c ├── fs.c ├── fs.h ├── gdbutil ├── grep.c ├── ide.c ├── init.c ├── initcode.S ├── ioapic.c ├── kalloc.c ├── kbd.c ├── kbd.h ├── kernel.ld ├── kill.c ├── lapic.c ├── ln.c ├── log.c ├── ls.c ├── main.c ├── memide.c ├── memlayout.h ├── mkdir.c ├── mkfs.c ├── mmu.h ├── mp.c ├── mp.h ├── param.h ├── picirq.c ├── pipe.c ├── pr.pl ├── printf.c ├── printpcs ├── proc.c ├── proc.h ├── rm.c ├── runoff ├── runoff.list ├── runoff.spec ├── runoff1 ├── sh.c ├── show1 ├── sign.pl ├── sleep1.p ├── sleeplock.c ├── sleeplock.h ├── spinlock.c ├── spinlock.h ├── spinp ├── stat.h ├── stressfs.c ├── string.c ├── swtch.S ├── syscall.c ├── syscall.h ├── sysfile.c ├── sysproc.c ├── toc.ftr ├── toc.hdr ├── trap.c ├── trapasm.S ├── traps.h ├── types.h ├── uart.c ├── ulib.c ├── umalloc.c ├── user.h ├── usertests.c ├── usys.S ├── vectors.pl ├── vm.c ├── wc.c ├── x86.h └── zombie.c /.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/.cvsignore -------------------------------------------------------------------------------- /.dir-locals.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/.dir-locals.el -------------------------------------------------------------------------------- /.gdbinit.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/.gdbinit.tmpl -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/.gitignore -------------------------------------------------------------------------------- /BUGS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/BUGS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/Makefile -------------------------------------------------------------------------------- /Notes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/Notes -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/README -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/README.md -------------------------------------------------------------------------------- /TRICKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/TRICKS -------------------------------------------------------------------------------- /asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/asm.h -------------------------------------------------------------------------------- /bio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/bio.c -------------------------------------------------------------------------------- /bootasm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/bootasm.S -------------------------------------------------------------------------------- /bootmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/bootmain.c -------------------------------------------------------------------------------- /buf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/buf.h -------------------------------------------------------------------------------- /cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/cat.c -------------------------------------------------------------------------------- /console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/console.c -------------------------------------------------------------------------------- /cuth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/cuth -------------------------------------------------------------------------------- /date.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/date.h -------------------------------------------------------------------------------- /defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/defs.h -------------------------------------------------------------------------------- /dot-bochsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/dot-bochsrc -------------------------------------------------------------------------------- /echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/echo.c -------------------------------------------------------------------------------- /elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/elf.h -------------------------------------------------------------------------------- /entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/entry.S -------------------------------------------------------------------------------- /entryother.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/entryother.S -------------------------------------------------------------------------------- /exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/exec.c -------------------------------------------------------------------------------- /fcntl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/fcntl.h -------------------------------------------------------------------------------- /file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/file.c -------------------------------------------------------------------------------- /file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/file.h -------------------------------------------------------------------------------- /forktest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/forktest.c -------------------------------------------------------------------------------- /fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/fs.c -------------------------------------------------------------------------------- /fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/fs.h -------------------------------------------------------------------------------- /gdbutil: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/gdbutil -------------------------------------------------------------------------------- /grep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/grep.c -------------------------------------------------------------------------------- /ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/ide.c -------------------------------------------------------------------------------- /init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/init.c -------------------------------------------------------------------------------- /initcode.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/initcode.S -------------------------------------------------------------------------------- /ioapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/ioapic.c -------------------------------------------------------------------------------- /kalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/kalloc.c -------------------------------------------------------------------------------- /kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/kbd.c -------------------------------------------------------------------------------- /kbd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/kbd.h -------------------------------------------------------------------------------- /kernel.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/kernel.ld -------------------------------------------------------------------------------- /kill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/kill.c -------------------------------------------------------------------------------- /lapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/lapic.c -------------------------------------------------------------------------------- /ln.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/ln.c -------------------------------------------------------------------------------- /log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/log.c -------------------------------------------------------------------------------- /ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/ls.c -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/main.c -------------------------------------------------------------------------------- /memide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/memide.c -------------------------------------------------------------------------------- /memlayout.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/memlayout.h -------------------------------------------------------------------------------- /mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/mkdir.c -------------------------------------------------------------------------------- /mkfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/mkfs.c -------------------------------------------------------------------------------- /mmu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/mmu.h -------------------------------------------------------------------------------- /mp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/mp.c -------------------------------------------------------------------------------- /mp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/mp.h -------------------------------------------------------------------------------- /param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/param.h -------------------------------------------------------------------------------- /picirq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/picirq.c -------------------------------------------------------------------------------- /pipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/pipe.c -------------------------------------------------------------------------------- /pr.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/pr.pl -------------------------------------------------------------------------------- /printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/printf.c -------------------------------------------------------------------------------- /printpcs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/printpcs -------------------------------------------------------------------------------- /proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/proc.c -------------------------------------------------------------------------------- /proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/proc.h -------------------------------------------------------------------------------- /rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/rm.c -------------------------------------------------------------------------------- /runoff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/runoff -------------------------------------------------------------------------------- /runoff.list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/runoff.list -------------------------------------------------------------------------------- /runoff.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/runoff.spec -------------------------------------------------------------------------------- /runoff1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/runoff1 -------------------------------------------------------------------------------- /sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sh.c -------------------------------------------------------------------------------- /show1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/show1 -------------------------------------------------------------------------------- /sign.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sign.pl -------------------------------------------------------------------------------- /sleep1.p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sleep1.p -------------------------------------------------------------------------------- /sleeplock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sleeplock.c -------------------------------------------------------------------------------- /sleeplock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sleeplock.h -------------------------------------------------------------------------------- /spinlock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/spinlock.c -------------------------------------------------------------------------------- /spinlock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/spinlock.h -------------------------------------------------------------------------------- /spinp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/spinp -------------------------------------------------------------------------------- /stat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/stat.h -------------------------------------------------------------------------------- /stressfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/stressfs.c -------------------------------------------------------------------------------- /string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/string.c -------------------------------------------------------------------------------- /swtch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/swtch.S -------------------------------------------------------------------------------- /syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/syscall.c -------------------------------------------------------------------------------- /syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/syscall.h -------------------------------------------------------------------------------- /sysfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sysfile.c -------------------------------------------------------------------------------- /sysproc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/sysproc.c -------------------------------------------------------------------------------- /toc.ftr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/toc.ftr -------------------------------------------------------------------------------- /toc.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/toc.hdr -------------------------------------------------------------------------------- /trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/trap.c -------------------------------------------------------------------------------- /trapasm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/trapasm.S -------------------------------------------------------------------------------- /traps.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/traps.h -------------------------------------------------------------------------------- /types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/types.h -------------------------------------------------------------------------------- /uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/uart.c -------------------------------------------------------------------------------- /ulib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/ulib.c -------------------------------------------------------------------------------- /umalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/umalloc.c -------------------------------------------------------------------------------- /user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/user.h -------------------------------------------------------------------------------- /usertests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/usertests.c -------------------------------------------------------------------------------- /usys.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/usys.S -------------------------------------------------------------------------------- /vectors.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/vectors.pl -------------------------------------------------------------------------------- /vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/vm.c -------------------------------------------------------------------------------- /wc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/wc.c -------------------------------------------------------------------------------- /x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/x86.h -------------------------------------------------------------------------------- /zombie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytcoode/xv6/HEAD/zombie.c --------------------------------------------------------------------------------