├── .gdbinit.tmpl ├── .gitignore ├── Makefile ├── README ├── asm.h ├── bio.c ├── bootasm.S ├── bootmain.c ├── bootother.S ├── buf.h ├── cat.c ├── console.c ├── data.S ├── defs.h ├── dot-bochsrc ├── echo.c ├── elf.h ├── 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 ├── kill.c ├── lapic.c ├── ln.c ├── ls.c ├── main.c ├── mkdir.c ├── mkfs.c ├── mmu.h ├── mp.c ├── mp.h ├── multiboot.S ├── param.h ├── picirq.c ├── pipe.c ├── pr.pl ├── printf.c ├── proc.c ├── proc.h ├── rm.c ├── runoff ├── runoff.list ├── runoff.spec ├── runoff1 ├── sh.c ├── sign.pl ├── spinlock.c ├── spinlock.h ├── stat.h ├── stressfs.c ├── string.c ├── swtch.S ├── syscall.c ├── syscall.h ├── sysfile.c ├── sysproc.c ├── timer.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 /.gdbinit.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/.gdbinit.tmpl -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/Makefile -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/README -------------------------------------------------------------------------------- /asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/asm.h -------------------------------------------------------------------------------- /bio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/bio.c -------------------------------------------------------------------------------- /bootasm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/bootasm.S -------------------------------------------------------------------------------- /bootmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/bootmain.c -------------------------------------------------------------------------------- /bootother.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/bootother.S -------------------------------------------------------------------------------- /buf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/buf.h -------------------------------------------------------------------------------- /cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/cat.c -------------------------------------------------------------------------------- /console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/console.c -------------------------------------------------------------------------------- /data.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/data.S -------------------------------------------------------------------------------- /defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/defs.h -------------------------------------------------------------------------------- /dot-bochsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/dot-bochsrc -------------------------------------------------------------------------------- /echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/echo.c -------------------------------------------------------------------------------- /elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/elf.h -------------------------------------------------------------------------------- /exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/exec.c -------------------------------------------------------------------------------- /fcntl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/fcntl.h -------------------------------------------------------------------------------- /file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/file.c -------------------------------------------------------------------------------- /file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/file.h -------------------------------------------------------------------------------- /forktest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/forktest.c -------------------------------------------------------------------------------- /fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/fs.c -------------------------------------------------------------------------------- /fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/fs.h -------------------------------------------------------------------------------- /gdbutil: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/gdbutil -------------------------------------------------------------------------------- /grep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/grep.c -------------------------------------------------------------------------------- /ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/ide.c -------------------------------------------------------------------------------- /init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/init.c -------------------------------------------------------------------------------- /initcode.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/initcode.S -------------------------------------------------------------------------------- /ioapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/ioapic.c -------------------------------------------------------------------------------- /kalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/kalloc.c -------------------------------------------------------------------------------- /kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/kbd.c -------------------------------------------------------------------------------- /kbd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/kbd.h -------------------------------------------------------------------------------- /kill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/kill.c -------------------------------------------------------------------------------- /lapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/lapic.c -------------------------------------------------------------------------------- /ln.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/ln.c -------------------------------------------------------------------------------- /ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/ls.c -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/main.c -------------------------------------------------------------------------------- /mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/mkdir.c -------------------------------------------------------------------------------- /mkfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/mkfs.c -------------------------------------------------------------------------------- /mmu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/mmu.h -------------------------------------------------------------------------------- /mp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/mp.c -------------------------------------------------------------------------------- /mp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/mp.h -------------------------------------------------------------------------------- /multiboot.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/multiboot.S -------------------------------------------------------------------------------- /param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/param.h -------------------------------------------------------------------------------- /picirq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/picirq.c -------------------------------------------------------------------------------- /pipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/pipe.c -------------------------------------------------------------------------------- /pr.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/pr.pl -------------------------------------------------------------------------------- /printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/printf.c -------------------------------------------------------------------------------- /proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/proc.c -------------------------------------------------------------------------------- /proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/proc.h -------------------------------------------------------------------------------- /rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/rm.c -------------------------------------------------------------------------------- /runoff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/runoff -------------------------------------------------------------------------------- /runoff.list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/runoff.list -------------------------------------------------------------------------------- /runoff.spec: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /runoff1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/runoff1 -------------------------------------------------------------------------------- /sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/sh.c -------------------------------------------------------------------------------- /sign.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/sign.pl -------------------------------------------------------------------------------- /spinlock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/spinlock.c -------------------------------------------------------------------------------- /spinlock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/spinlock.h -------------------------------------------------------------------------------- /stat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/stat.h -------------------------------------------------------------------------------- /stressfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/stressfs.c -------------------------------------------------------------------------------- /string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/string.c -------------------------------------------------------------------------------- /swtch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/swtch.S -------------------------------------------------------------------------------- /syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/syscall.c -------------------------------------------------------------------------------- /syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/syscall.h -------------------------------------------------------------------------------- /sysfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/sysfile.c -------------------------------------------------------------------------------- /sysproc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/sysproc.c -------------------------------------------------------------------------------- /timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/timer.c -------------------------------------------------------------------------------- /toc.ftr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/toc.ftr -------------------------------------------------------------------------------- /toc.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/toc.hdr -------------------------------------------------------------------------------- /trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/trap.c -------------------------------------------------------------------------------- /trapasm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/trapasm.S -------------------------------------------------------------------------------- /traps.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/traps.h -------------------------------------------------------------------------------- /types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/types.h -------------------------------------------------------------------------------- /uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/uart.c -------------------------------------------------------------------------------- /ulib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/ulib.c -------------------------------------------------------------------------------- /umalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/umalloc.c -------------------------------------------------------------------------------- /user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/user.h -------------------------------------------------------------------------------- /usertests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/usertests.c -------------------------------------------------------------------------------- /usys.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/usys.S -------------------------------------------------------------------------------- /vectors.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/vectors.pl -------------------------------------------------------------------------------- /vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/vm.c -------------------------------------------------------------------------------- /wc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/wc.c -------------------------------------------------------------------------------- /x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/x86.h -------------------------------------------------------------------------------- /zombie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinaut/libos/HEAD/zombie.c --------------------------------------------------------------------------------