gitextract__96k71ly/ ├── .gitignore ├── .gitlab-ci.yml ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── configs/ │ ├── clang.mk │ ├── gcc.mk │ ├── i386-pc.mk │ ├── i386-quark.mk │ ├── none.mk │ ├── pcc.mk │ └── x86_64-pc.mk ├── initrd/ │ ├── Makefile │ ├── etc/ │ │ ├── font.tf │ │ ├── hostname │ │ ├── motd │ │ ├── passwd │ │ └── rc.init │ ├── init/ │ │ ├── Makefile │ │ └── init.c │ └── usr/ │ ├── bin/ │ │ ├── p++ │ │ ├── pcc │ │ └── pcpp │ ├── libexec/ │ │ ├── ccom │ │ ├── cpp │ │ └── cxxcom │ ├── share/ │ │ └── man/ │ │ └── man1/ │ │ ├── ccom.1 │ │ ├── cpp.1 │ │ ├── p++.1 │ │ ├── pcc.1 │ │ └── pcpp.1 │ └── test.c ├── iso/ │ └── boot/ │ └── grub/ │ └── grub.cfg ├── kernel/ │ ├── Makefile │ ├── README.md │ ├── arch/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── arm/ │ │ │ ├── Build.mk │ │ │ ├── include/ │ │ │ │ ├── core/ │ │ │ │ │ └── types.h │ │ │ │ ├── cpu/ │ │ │ │ │ └── io.h │ │ │ │ └── mm/ │ │ │ │ └── mm.h │ │ │ ├── kernel.arm.ld │ │ │ └── none.c │ │ ├── i386/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── boot/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── init.c │ │ │ │ ├── multiboot.S │ │ │ │ ├── sys.S │ │ │ │ └── x86_64_bootstrap.S │ │ │ ├── cpu/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── arith.c │ │ │ │ ├── cpu.S │ │ │ │ ├── cpu.h │ │ │ │ ├── fpu.c │ │ │ │ ├── gdt.c │ │ │ │ ├── idt.c │ │ │ │ ├── init.c │ │ │ │ ├── isr.c │ │ │ │ ├── smp.S │ │ │ │ └── trace.c │ │ │ ├── earlycon/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── earlycon.c │ │ │ │ ├── fb.c │ │ │ │ ├── font.h │ │ │ │ ├── uart.c │ │ │ │ └── vga.c │ │ │ ├── include/ │ │ │ │ ├── boot/ │ │ │ │ │ ├── boot.h │ │ │ │ │ └── multiboot.h │ │ │ │ ├── config.h │ │ │ │ ├── core/ │ │ │ │ │ ├── _string.h │ │ │ │ │ ├── arch.h │ │ │ │ │ ├── panic.h │ │ │ │ │ ├── platform.h │ │ │ │ │ └── system.h │ │ │ │ ├── cpu/ │ │ │ │ │ ├── cpu.h │ │ │ │ │ ├── cpuid.h │ │ │ │ │ ├── io.h │ │ │ │ │ ├── msr.h │ │ │ │ │ ├── pit.h │ │ │ │ │ └── sdt.h │ │ │ │ ├── mm/ │ │ │ │ │ ├── mm.h │ │ │ │ │ └── pmap.h │ │ │ │ └── platform/ │ │ │ │ └── misc.h │ │ │ ├── kernel.i386.ld │ │ │ ├── kernel.x86_64.ld │ │ │ ├── mm/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── frame_utils.h │ │ │ │ ├── i386.c │ │ │ │ ├── i386.h │ │ │ │ ├── mm.c │ │ │ │ ├── page_utils.h │ │ │ │ ├── x86_64.c │ │ │ │ └── x86_64.h │ │ │ ├── platform/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── misc/ │ │ │ │ │ ├── Build.mk │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── acpi.c │ │ │ │ │ ├── cmos.c │ │ │ │ │ ├── hpet.c │ │ │ │ │ ├── i8042.c │ │ │ │ │ ├── pic.c │ │ │ │ │ └── pit.c │ │ │ │ ├── pc/ │ │ │ │ │ ├── Build.mk │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── init.c │ │ │ │ │ └── reboot.c │ │ │ │ └── quark/ │ │ │ │ ├── Build.mk │ │ │ │ ├── include/ │ │ │ │ │ └── chipset/ │ │ │ │ │ ├── legacy_bridge.h │ │ │ │ │ ├── root_complex.h │ │ │ │ │ └── system.h │ │ │ │ ├── init.c │ │ │ │ └── legacy/ │ │ │ │ ├── Build.mk │ │ │ │ ├── bridge.c │ │ │ │ ├── interrupt.c │ │ │ │ └── root_complex.c │ │ │ └── sys/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── execve.c │ │ │ ├── fork.c │ │ │ ├── proc.c │ │ │ ├── sched.c │ │ │ ├── signal.c │ │ │ ├── sys.h │ │ │ ├── syscall.c │ │ │ └── thread.c │ │ └── none/ │ │ ├── Build.mk │ │ ├── include/ │ │ │ ├── core/ │ │ │ │ └── types.h │ │ │ ├── cpu/ │ │ │ │ └── io.h │ │ │ └── mm/ │ │ │ └── mm.h │ │ ├── kernel.none.ld │ │ └── none.c │ ├── core/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── kargs.c │ │ ├── main.c │ │ ├── module.c │ │ ├── printk.c │ │ ├── snprintf.c │ │ └── time.c │ ├── dev/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── ata/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── ata.c │ │ │ ├── ata.h │ │ │ └── pio.c │ │ ├── fb/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── fbdev/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ └── fbdev.c │ │ │ └── vesa/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── vesa.c │ │ ├── fdc/ │ │ │ ├── Build.mk │ │ │ ├── fdc.c │ │ │ ├── fdc_82077AA.c │ │ │ └── fdc_82077AA.h │ │ ├── kbd/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── kbd.c │ │ │ └── ps2kbd.c │ │ ├── kdev.c │ │ ├── mem/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── kmsg.c │ │ │ ├── memdev.c │ │ │ ├── memdev.h │ │ │ ├── null.c │ │ │ └── zero.c │ │ ├── mouse/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── ps2mouse.c │ │ ├── pci/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── pci.c │ │ ├── rd/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── ramdisk.c │ │ └── tty/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── console/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── console.c │ │ ├── generic.c │ │ ├── pty/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── pty.c │ │ ├── tty.c │ │ └── uart/ │ │ ├── 8250/ │ │ │ ├── 8250.c │ │ │ ├── Build.mk │ │ │ └── Makefile │ │ ├── Build.mk │ │ ├── Makefile │ │ └── uart.c │ ├── fs/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── bcache.c │ │ ├── close.c │ │ ├── devfs/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── devfs.c │ │ ├── devpts/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── devpts.c │ │ ├── ext2/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── block.c │ │ │ ├── dentry.c │ │ │ ├── ext2.c │ │ │ ├── ext2.h │ │ │ ├── inode.c │ │ │ ├── super.c │ │ │ └── vops.c │ │ ├── fops.c │ │ ├── initramfs/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── cpio/ │ │ │ │ ├── Build.mk │ │ │ │ ├── Makefile │ │ │ │ ├── cpio.c │ │ │ │ └── cpio.h │ │ │ └── initramfs.c │ │ ├── ioctl.c │ │ ├── lookup.c │ │ ├── minix/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── block.c │ │ │ ├── dentry.c │ │ │ ├── inode.c │ │ │ ├── minix.c │ │ │ ├── minix.h │ │ │ ├── super.c │ │ │ └── vops.c │ │ ├── mknod.c │ │ ├── mount.c │ │ ├── pipe.c │ │ ├── posix/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ ├── close.c │ │ │ ├── helpers.c │ │ │ ├── ioctl.c │ │ │ ├── lseek.c │ │ │ ├── open.c │ │ │ ├── read.c │ │ │ ├── readdir.c │ │ │ ├── trunc.c │ │ │ └── write.c │ │ ├── procfs/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── procfs.c │ │ ├── pseudofs/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── pseudofs.c │ │ ├── read.c │ │ ├── readdir.c │ │ ├── rofs.c │ │ ├── stat.c │ │ ├── sync.c │ │ ├── tmpfs/ │ │ │ ├── Build.mk │ │ │ ├── Makefile │ │ │ └── tmpfs.c │ │ ├── trunc.c │ │ ├── unlink.c │ │ ├── vcache.c │ │ ├── vfs.c │ │ ├── vm_object.c │ │ ├── vops.c │ │ └── write.c │ ├── include/ │ │ ├── bits/ │ │ │ ├── dirent.h │ │ │ ├── errno.h │ │ │ ├── fcntl.h │ │ │ ├── mman.h │ │ │ └── utsname.h │ │ ├── boot/ │ │ │ └── boot.h │ │ ├── config.h │ │ ├── console/ │ │ │ └── earlycon.h │ │ ├── core/ │ │ │ ├── arch.h │ │ │ ├── assert.h │ │ │ ├── kargs.h │ │ │ ├── module.h │ │ │ ├── panic.h │ │ │ ├── printk.h │ │ │ ├── qsort.h │ │ │ ├── string.h │ │ │ ├── system.h │ │ │ ├── time.h │ │ │ └── types.h │ │ ├── cpu/ │ │ │ ├── cpu.h │ │ │ └── io.h │ │ ├── dev/ │ │ │ ├── console.h │ │ │ ├── dev.h │ │ │ ├── fbdev.h │ │ │ ├── kbd.h │ │ │ ├── pci.h │ │ │ ├── ramdev.h │ │ │ ├── tty.h │ │ │ ├── ttydev.h │ │ │ └── uart.h │ │ ├── ds/ │ │ │ ├── bitmap.h │ │ │ ├── buddy.h │ │ │ ├── ds.dox │ │ │ ├── hashmap.h │ │ │ ├── queue.h │ │ │ └── ringbuf.h │ │ ├── fs/ │ │ │ ├── bcache.h │ │ │ ├── devfs.h │ │ │ ├── devpts.h │ │ │ ├── initramfs.h │ │ │ ├── ioctl.h │ │ │ ├── mbr.h │ │ │ ├── pipe.h │ │ │ ├── posix.h │ │ │ ├── pseudofs.h │ │ │ ├── rofs.h │ │ │ ├── stat.h │ │ │ ├── termios.h │ │ │ ├── tmpfs.h │ │ │ ├── vcache.h │ │ │ └── vfs.h │ │ ├── mm/ │ │ │ ├── buddy.h │ │ │ ├── heap.h │ │ │ ├── kvmem.h │ │ │ ├── mm.h │ │ │ ├── pmap.h │ │ │ └── vm.h │ │ ├── net/ │ │ │ └── socket.h │ │ ├── stdarg.h │ │ ├── stddef.h │ │ ├── stdint.h │ │ ├── sys/ │ │ │ ├── binfmt.h │ │ │ ├── elf.h │ │ │ ├── proc.h │ │ │ ├── sched.h │ │ │ ├── signal.h │ │ │ ├── syscall.h │ │ │ └── thread.h │ │ └── video/ │ │ ├── vbe.h │ │ └── vesa.h │ ├── mm/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── buddy.c │ │ ├── fault.c │ │ ├── kvmem.c │ │ ├── mm.c │ │ ├── vm_anon.c │ │ ├── vm_entry.c │ │ ├── vm_object.c │ │ ├── vm_space.c │ │ └── vmm.c │ ├── net/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── socket.c │ │ └── unix/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── unix.c │ │ └── unix.h │ └── sys/ │ ├── Build.mk │ ├── Makefile │ ├── binfmt/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── binfmt.c │ │ └── elf.c │ ├── execve.c │ ├── fork.c │ ├── proc.c │ ├── sched.c │ ├── signal.c │ ├── syscall.c │ └── thread.c ├── loader/ │ ├── grub-legacy/ │ │ └── boot/ │ │ └── grub/ │ │ └── menu.lst │ └── grub2/ │ └── boot/ │ └── grub/ │ └── grub.cfg └── system/ ├── Makefile ├── aqbox/ │ ├── Build.mk │ ├── Makefile │ ├── aqbox.c │ ├── extra/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── bim.c │ │ ├── clear.c │ │ ├── mknod.c │ │ ├── mktemp.c │ │ ├── readmbr.c │ │ ├── stat.c │ │ ├── truncate.c │ │ └── vmstat.c │ ├── include/ │ │ ├── aq_applets.h │ │ └── aqbox.h │ ├── posix/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── cat.c │ │ ├── date.c │ │ ├── echo.c │ │ ├── env.c │ │ ├── kill.c │ │ ├── ls.c │ │ ├── mkdir.c │ │ ├── ps.c │ │ ├── pwd.c │ │ ├── sh.c │ │ ├── touch.c │ │ ├── uname.c │ │ └── unlink.c │ └── sys/ │ ├── Build.mk │ ├── Makefile │ ├── getty.c │ ├── login.c │ ├── mount.c │ └── reboot.c ├── fbterm/ │ ├── Build.mk │ ├── Makefile │ ├── aqkb.c │ ├── fb.c │ ├── fbterm.c │ ├── font.c │ ├── include/ │ │ ├── aqkb.h │ │ ├── config.h │ │ ├── fb.h │ │ ├── fbterm.h │ │ ├── tinyfont.h │ │ ├── vterm.h │ │ └── vterm_keycodes.h │ ├── libvterm/ │ │ ├── Build.mk │ │ ├── Makefile │ │ ├── encoding/ │ │ │ ├── DECdrawing.inc │ │ │ ├── DECdrawing.tbl │ │ │ ├── uk.inc │ │ │ └── uk.tbl │ │ ├── encoding.c │ │ ├── keyboard.c │ │ ├── mouse.c │ │ ├── parser.c │ │ ├── pen.c │ │ ├── rect.h │ │ ├── screen.c │ │ ├── state.c │ │ ├── unicode.c │ │ ├── utf8.h │ │ ├── vterm.c │ │ └── vterm_internal.h │ └── nanojpeg.c ├── kilo/ │ ├── Build.mk │ ├── LICENSE │ ├── Makefile │ ├── README.md │ └── kilo.c └── scripts/ └── gen.pl