├── .gdbinit ├── .github └── workflows │ └── ccpp.yml ├── .gitignore ├── LICENSE ├── Makefile ├── Makefile.config ├── README.md ├── apps ├── Makefile ├── extras │ ├── .gitignore │ ├── Makefile │ └── patch │ │ ├── bash-4.4.patch │ │ └── coreutils-8.30.patch ├── res │ ├── etc │ │ ├── passwd │ │ └── termcap │ ├── root │ │ └── .bashrc │ └── var │ │ └── www │ │ ├── favicon.ico │ │ ├── index.html │ │ └── secret.html └── src │ ├── sbin │ ├── hello.c │ ├── init.c │ └── sleep.c │ └── usr │ └── bin │ ├── logo.c │ ├── pi.c │ ├── server.c │ └── song.c ├── bochsrc.txt ├── dist ├── .gitignore ├── Makefile └── image │ ├── Makefile │ └── root │ └── boot │ └── grub │ └── grub.cfg ├── kernel ├── Doxyfile ├── Makefile ├── bochsrc.txt ├── config.h ├── inc │ ├── arch │ │ ├── acpi.h │ │ ├── apic.h │ │ ├── atomic.h │ │ ├── bios.h │ │ ├── cpu.h │ │ ├── gdt.h │ │ ├── hpet.h │ │ ├── idt.h │ │ ├── interrupt.h │ │ ├── ioapic.h │ │ ├── math.h │ │ ├── mmu.h │ │ ├── mp.h │ │ ├── pic.h │ │ ├── pit.h │ │ ├── pl.h │ │ ├── proc.h │ │ ├── spinlock.h │ │ ├── syscall.h │ │ └── tsc.h │ ├── bug │ │ ├── check.h │ │ ├── debug.h │ │ └── panic.h │ ├── common │ │ ├── asm.h │ │ ├── compiler.h │ │ ├── config.h │ │ ├── hash.h │ │ ├── hashtable.h │ │ ├── list.h │ │ ├── listener.h │ │ ├── math.h │ │ ├── mmio.h │ │ ├── ringbuff.h │ │ ├── swap.h │ │ ├── types.h │ │ └── version.h │ ├── device │ │ └── device.h │ ├── driver │ │ ├── bus │ │ │ └── pci.h │ │ ├── console │ │ │ ├── console.h │ │ │ └── tty.h │ │ └── disk │ │ │ └── ata.h │ ├── fs │ │ ├── binfmt.h │ │ ├── block.h │ │ ├── char.h │ │ ├── disk.h │ │ ├── elf.h │ │ ├── exec.h │ │ ├── fd.h │ │ ├── rootramfs.h │ │ ├── subblock.h │ │ ├── type │ │ │ └── devfs.h │ │ └── vfs.h │ ├── init │ │ ├── initcall.h │ │ ├── multiboot.h │ │ └── param.h │ ├── lib │ │ ├── printf.h │ │ ├── rand.h │ │ └── string.h │ ├── log │ │ └── log.h │ ├── misc │ │ ├── erasure_tool.h │ │ ├── shell.h │ │ ├── stats.h │ │ └── sysrq.h │ ├── mm │ │ ├── cache.h │ │ ├── mm.h │ │ └── module.h │ ├── net │ │ ├── eth │ │ │ └── eth.h │ │ ├── interface.h │ │ ├── ip │ │ │ ├── af_inet.h │ │ │ ├── arp.h │ │ │ ├── dhcp.h │ │ │ ├── dns.h │ │ │ ├── icmp.h │ │ │ ├── ip.h │ │ │ ├── nbns.h │ │ │ ├── raw.h │ │ │ ├── tcp.h │ │ │ └── udp.h │ │ ├── packet.h │ │ └── socket.h │ ├── sched │ │ ├── ktaskd.h │ │ ├── proc.h │ │ ├── sched.h │ │ ├── syscall.h │ │ └── task.h │ ├── shared │ ├── sound │ │ └── pit.h │ ├── sync │ │ ├── atomic.h │ │ ├── semaphore-post.h │ │ ├── semaphore.h │ │ └── spinlock.h │ ├── time │ │ ├── clock.h │ │ └── timer.h │ └── user │ │ ├── select.h │ │ ├── signal.h │ │ ├── time.h │ │ └── wait.h └── src │ ├── arch │ ├── acpi.c │ ├── apic.c │ ├── atomic.c │ ├── atomic_ops.h │ ├── bios.c │ ├── context.s │ ├── gdt.c │ ├── hpet.c │ ├── idt.c │ ├── ioapic.c │ ├── isr.s │ ├── linker.ld.pp │ ├── loader.s │ ├── mmu.c │ ├── mp.c │ ├── pic.c │ ├── pit.c │ ├── pl.c │ ├── proc.c │ ├── registers.s │ ├── spinlock.c │ ├── syscall.c │ └── tsc.c │ ├── bug │ ├── debug.c │ └── panic.c │ ├── device │ └── device.c │ ├── driver │ ├── bus │ │ └── pci.c │ ├── console │ │ ├── console.c │ │ ├── keyboard.c │ │ ├── tty.c │ │ └── vram.c │ ├── disk │ │ ├── ahci.c │ │ └── ide.c │ └── net │ │ └── e1000.c │ ├── fs │ ├── binfmt.c │ ├── binfmt │ │ ├── binfmt_elf.c │ │ └── binfmt_shebang.c │ ├── block.c │ ├── char.c │ ├── disk.c │ ├── exec.c │ ├── fd.c │ ├── label │ │ ├── gpt.c │ │ └── msdos.c │ ├── rootramfs.c │ ├── subblock.c │ ├── type │ │ ├── devfs.c │ │ └── ramfs.c │ └── vfs.c │ ├── init │ ├── kmain.c │ └── param.c │ ├── lib │ ├── math.c │ ├── printf.c │ ├── rand.c │ └── string.c │ ├── log │ └── log.c │ ├── misc │ ├── stats.c │ └── sysrq.c │ ├── mm │ ├── cache.c │ ├── mm.c │ └── module.c │ ├── net │ ├── eth │ │ └── eth.c │ ├── interface.c │ ├── ip │ │ ├── af_inet.c │ │ ├── arp.c │ │ ├── checksum.h │ │ ├── dhcp.c │ │ ├── icmp.c │ │ ├── ip.c │ │ ├── nbns.c │ │ ├── raw.c │ │ ├── tcp.c │ │ └── udp.c │ ├── packet.c │ └── socket.c │ ├── sched │ ├── ktaskd.c │ ├── proc.c │ ├── sched.c │ └── syscall.c │ ├── sync │ └── semaphore.c │ └── time │ ├── clock.c │ └── timer.c ├── libc ├── .gitignore ├── Makefile ├── patch │ └── newlib-3.0.0.patch └── sys │ ├── Makefile.am │ ├── configure.in │ ├── crt0.c │ ├── include │ ├── machine │ │ └── _types.h │ └── sys │ │ ├── dirent.h │ │ ├── signal.h │ │ ├── termios.h │ │ ├── utmp.h │ │ ├── vfs.h │ │ └── wait.h │ └── syscalls.c ├── libk ├── .gitignore ├── Makefile ├── inc │ ├── arpa │ │ └── inet.h │ ├── k │ │ ├── compiler.h │ │ ├── log.h │ │ ├── math.h │ │ ├── shared │ │ ├── sys.h │ │ ├── syscall.h │ │ └── types.h │ ├── mntent.h │ ├── netdb.h │ ├── netinet │ │ └── in.h │ ├── sgtty.h │ └── sys │ │ ├── ioctl.h │ │ ├── socket.h │ │ └── utsname.h └── src │ ├── Makefile.am │ ├── configure.in │ ├── crt0.S │ ├── ctors.c │ ├── exec │ ├── execl.c │ ├── execle.c │ ├── execlp.c │ ├── execv.c │ └── execvp.c │ ├── hook │ ├── environ.c │ ├── errno.c │ ├── fcntl.c │ ├── gettod.c │ ├── grp.c │ ├── ioctl.c │ ├── netdb.c │ ├── pthread.c │ ├── sbrk.c │ ├── select.c │ ├── sgtty.c │ ├── signal.c │ ├── socket.c │ ├── stat.c │ ├── term.c │ ├── termios.c │ ├── times.c │ ├── unistd.c │ ├── ustsname.c │ ├── utime.c │ ├── vfs.c │ └── wait.c │ ├── log.c │ ├── mntent.c │ ├── posix.c │ ├── progname.c │ ├── shared │ ├── syscall.s │ └── time.c ├── logo.png ├── shared ├── Makefile ├── data │ └── syscalls.txt ├── res │ └── .nonempty └── scripts │ ├── makedecls.py │ ├── makeents.py │ └── makehooks.py ├── toolchain ├── .gitignore ├── Makefile └── patch │ ├── binutils-2.30.patch │ └── gcc-8.1.0.patch └── util ├── Makefile └── src └── mkrootramfs.c /.gdbinit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/.gdbinit -------------------------------------------------------------------------------- /.github/workflows/ccpp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/.github/workflows/ccpp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/Makefile.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/README.md -------------------------------------------------------------------------------- /apps/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/Makefile -------------------------------------------------------------------------------- /apps/extras/.gitignore: -------------------------------------------------------------------------------- 1 | dl 2 | src 3 | build 4 | dist 5 | -------------------------------------------------------------------------------- /apps/extras/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/extras/Makefile -------------------------------------------------------------------------------- /apps/extras/patch/bash-4.4.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/extras/patch/bash-4.4.patch -------------------------------------------------------------------------------- /apps/extras/patch/coreutils-8.30.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/extras/patch/coreutils-8.30.patch -------------------------------------------------------------------------------- /apps/res/etc/passwd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/etc/passwd -------------------------------------------------------------------------------- /apps/res/etc/termcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/etc/termcap -------------------------------------------------------------------------------- /apps/res/root/.bashrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/root/.bashrc -------------------------------------------------------------------------------- /apps/res/var/www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/var/www/favicon.ico -------------------------------------------------------------------------------- /apps/res/var/www/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/var/www/index.html -------------------------------------------------------------------------------- /apps/res/var/www/secret.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/res/var/www/secret.html -------------------------------------------------------------------------------- /apps/src/sbin/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/sbin/hello.c -------------------------------------------------------------------------------- /apps/src/sbin/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/sbin/init.c -------------------------------------------------------------------------------- /apps/src/sbin/sleep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/sbin/sleep.c -------------------------------------------------------------------------------- /apps/src/usr/bin/logo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/usr/bin/logo.c -------------------------------------------------------------------------------- /apps/src/usr/bin/pi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/usr/bin/pi.c -------------------------------------------------------------------------------- /apps/src/usr/bin/server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/usr/bin/server.c -------------------------------------------------------------------------------- /apps/src/usr/bin/song.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/apps/src/usr/bin/song.c -------------------------------------------------------------------------------- /bochsrc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/bochsrc.txt -------------------------------------------------------------------------------- /dist/.gitignore: -------------------------------------------------------------------------------- 1 | sysroot 2 | -------------------------------------------------------------------------------- /dist/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/dist/Makefile -------------------------------------------------------------------------------- /dist/image/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/dist/image/Makefile -------------------------------------------------------------------------------- /dist/image/root/boot/grub/grub.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/dist/image/root/boot/grub/grub.cfg -------------------------------------------------------------------------------- /kernel/Doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/Doxyfile -------------------------------------------------------------------------------- /kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/Makefile -------------------------------------------------------------------------------- /kernel/bochsrc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/bochsrc.txt -------------------------------------------------------------------------------- /kernel/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/config.h -------------------------------------------------------------------------------- /kernel/inc/arch/acpi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/acpi.h -------------------------------------------------------------------------------- /kernel/inc/arch/apic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/apic.h -------------------------------------------------------------------------------- /kernel/inc/arch/atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/atomic.h -------------------------------------------------------------------------------- /kernel/inc/arch/bios.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/bios.h -------------------------------------------------------------------------------- /kernel/inc/arch/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/cpu.h -------------------------------------------------------------------------------- /kernel/inc/arch/gdt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/gdt.h -------------------------------------------------------------------------------- /kernel/inc/arch/hpet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/hpet.h -------------------------------------------------------------------------------- /kernel/inc/arch/idt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/idt.h -------------------------------------------------------------------------------- /kernel/inc/arch/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/interrupt.h -------------------------------------------------------------------------------- /kernel/inc/arch/ioapic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/ioapic.h -------------------------------------------------------------------------------- /kernel/inc/arch/math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/math.h -------------------------------------------------------------------------------- /kernel/inc/arch/mmu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/mmu.h -------------------------------------------------------------------------------- /kernel/inc/arch/mp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/mp.h -------------------------------------------------------------------------------- /kernel/inc/arch/pic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/pic.h -------------------------------------------------------------------------------- /kernel/inc/arch/pit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/pit.h -------------------------------------------------------------------------------- /kernel/inc/arch/pl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/pl.h -------------------------------------------------------------------------------- /kernel/inc/arch/proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/proc.h -------------------------------------------------------------------------------- /kernel/inc/arch/spinlock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/spinlock.h -------------------------------------------------------------------------------- /kernel/inc/arch/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/syscall.h -------------------------------------------------------------------------------- /kernel/inc/arch/tsc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/arch/tsc.h -------------------------------------------------------------------------------- /kernel/inc/bug/check.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/bug/check.h -------------------------------------------------------------------------------- /kernel/inc/bug/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/bug/debug.h -------------------------------------------------------------------------------- /kernel/inc/bug/panic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/bug/panic.h -------------------------------------------------------------------------------- /kernel/inc/common/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/asm.h -------------------------------------------------------------------------------- /kernel/inc/common/compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/compiler.h -------------------------------------------------------------------------------- /kernel/inc/common/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/config.h -------------------------------------------------------------------------------- /kernel/inc/common/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/hash.h -------------------------------------------------------------------------------- /kernel/inc/common/hashtable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/hashtable.h -------------------------------------------------------------------------------- /kernel/inc/common/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/list.h -------------------------------------------------------------------------------- /kernel/inc/common/listener.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/listener.h -------------------------------------------------------------------------------- /kernel/inc/common/math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/math.h -------------------------------------------------------------------------------- /kernel/inc/common/mmio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/mmio.h -------------------------------------------------------------------------------- /kernel/inc/common/ringbuff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/ringbuff.h -------------------------------------------------------------------------------- /kernel/inc/common/swap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/swap.h -------------------------------------------------------------------------------- /kernel/inc/common/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/types.h -------------------------------------------------------------------------------- /kernel/inc/common/version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/common/version.h -------------------------------------------------------------------------------- /kernel/inc/device/device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/device/device.h -------------------------------------------------------------------------------- /kernel/inc/driver/bus/pci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/driver/bus/pci.h -------------------------------------------------------------------------------- /kernel/inc/driver/console/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/driver/console/console.h -------------------------------------------------------------------------------- /kernel/inc/driver/console/tty.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/driver/console/tty.h -------------------------------------------------------------------------------- /kernel/inc/driver/disk/ata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/driver/disk/ata.h -------------------------------------------------------------------------------- /kernel/inc/fs/binfmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/binfmt.h -------------------------------------------------------------------------------- /kernel/inc/fs/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/block.h -------------------------------------------------------------------------------- /kernel/inc/fs/char.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/char.h -------------------------------------------------------------------------------- /kernel/inc/fs/disk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/disk.h -------------------------------------------------------------------------------- /kernel/inc/fs/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/elf.h -------------------------------------------------------------------------------- /kernel/inc/fs/exec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/exec.h -------------------------------------------------------------------------------- /kernel/inc/fs/fd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/fd.h -------------------------------------------------------------------------------- /kernel/inc/fs/rootramfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/rootramfs.h -------------------------------------------------------------------------------- /kernel/inc/fs/subblock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/subblock.h -------------------------------------------------------------------------------- /kernel/inc/fs/type/devfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/type/devfs.h -------------------------------------------------------------------------------- /kernel/inc/fs/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/fs/vfs.h -------------------------------------------------------------------------------- /kernel/inc/init/initcall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/init/initcall.h -------------------------------------------------------------------------------- /kernel/inc/init/multiboot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/init/multiboot.h -------------------------------------------------------------------------------- /kernel/inc/init/param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/init/param.h -------------------------------------------------------------------------------- /kernel/inc/lib/printf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/lib/printf.h -------------------------------------------------------------------------------- /kernel/inc/lib/rand.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/lib/rand.h -------------------------------------------------------------------------------- /kernel/inc/lib/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/lib/string.h -------------------------------------------------------------------------------- /kernel/inc/log/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/log/log.h -------------------------------------------------------------------------------- /kernel/inc/misc/erasure_tool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/misc/erasure_tool.h -------------------------------------------------------------------------------- /kernel/inc/misc/shell.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/misc/shell.h -------------------------------------------------------------------------------- /kernel/inc/misc/stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/misc/stats.h -------------------------------------------------------------------------------- /kernel/inc/misc/sysrq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/misc/sysrq.h -------------------------------------------------------------------------------- /kernel/inc/mm/cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/mm/cache.h -------------------------------------------------------------------------------- /kernel/inc/mm/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/mm/mm.h -------------------------------------------------------------------------------- /kernel/inc/mm/module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/mm/module.h -------------------------------------------------------------------------------- /kernel/inc/net/eth/eth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/eth/eth.h -------------------------------------------------------------------------------- /kernel/inc/net/interface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/interface.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/af_inet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/af_inet.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/arp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/arp.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/dhcp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/dhcp.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/dns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/dns.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/icmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/icmp.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/ip.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/ip.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/nbns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/nbns.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/raw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/raw.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/tcp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/tcp.h -------------------------------------------------------------------------------- /kernel/inc/net/ip/udp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/ip/udp.h -------------------------------------------------------------------------------- /kernel/inc/net/packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/packet.h -------------------------------------------------------------------------------- /kernel/inc/net/socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/net/socket.h -------------------------------------------------------------------------------- /kernel/inc/sched/ktaskd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sched/ktaskd.h -------------------------------------------------------------------------------- /kernel/inc/sched/proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sched/proc.h -------------------------------------------------------------------------------- /kernel/inc/sched/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sched/sched.h -------------------------------------------------------------------------------- /kernel/inc/sched/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sched/syscall.h -------------------------------------------------------------------------------- /kernel/inc/sched/task.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sched/task.h -------------------------------------------------------------------------------- /kernel/inc/shared: -------------------------------------------------------------------------------- 1 | ../../shared/build/inc/shared -------------------------------------------------------------------------------- /kernel/inc/sound/pit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sound/pit.h -------------------------------------------------------------------------------- /kernel/inc/sync/atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sync/atomic.h -------------------------------------------------------------------------------- /kernel/inc/sync/semaphore-post.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sync/semaphore-post.h -------------------------------------------------------------------------------- /kernel/inc/sync/semaphore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sync/semaphore.h -------------------------------------------------------------------------------- /kernel/inc/sync/spinlock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/sync/spinlock.h -------------------------------------------------------------------------------- /kernel/inc/time/clock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/time/clock.h -------------------------------------------------------------------------------- /kernel/inc/time/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/time/timer.h -------------------------------------------------------------------------------- /kernel/inc/user/select.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/user/select.h -------------------------------------------------------------------------------- /kernel/inc/user/signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/user/signal.h -------------------------------------------------------------------------------- /kernel/inc/user/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/user/time.h -------------------------------------------------------------------------------- /kernel/inc/user/wait.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/inc/user/wait.h -------------------------------------------------------------------------------- /kernel/src/arch/acpi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/acpi.c -------------------------------------------------------------------------------- /kernel/src/arch/apic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/apic.c -------------------------------------------------------------------------------- /kernel/src/arch/atomic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/atomic.c -------------------------------------------------------------------------------- /kernel/src/arch/atomic_ops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/atomic_ops.h -------------------------------------------------------------------------------- /kernel/src/arch/bios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/bios.c -------------------------------------------------------------------------------- /kernel/src/arch/context.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/context.s -------------------------------------------------------------------------------- /kernel/src/arch/gdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/gdt.c -------------------------------------------------------------------------------- /kernel/src/arch/hpet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/hpet.c -------------------------------------------------------------------------------- /kernel/src/arch/idt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/idt.c -------------------------------------------------------------------------------- /kernel/src/arch/ioapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/ioapic.c -------------------------------------------------------------------------------- /kernel/src/arch/isr.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/isr.s -------------------------------------------------------------------------------- /kernel/src/arch/linker.ld.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/linker.ld.pp -------------------------------------------------------------------------------- /kernel/src/arch/loader.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/loader.s -------------------------------------------------------------------------------- /kernel/src/arch/mmu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/mmu.c -------------------------------------------------------------------------------- /kernel/src/arch/mp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/mp.c -------------------------------------------------------------------------------- /kernel/src/arch/pic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/pic.c -------------------------------------------------------------------------------- /kernel/src/arch/pit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/pit.c -------------------------------------------------------------------------------- /kernel/src/arch/pl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/pl.c -------------------------------------------------------------------------------- /kernel/src/arch/proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/proc.c -------------------------------------------------------------------------------- /kernel/src/arch/registers.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/registers.s -------------------------------------------------------------------------------- /kernel/src/arch/spinlock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/spinlock.c -------------------------------------------------------------------------------- /kernel/src/arch/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/syscall.c -------------------------------------------------------------------------------- /kernel/src/arch/tsc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/arch/tsc.c -------------------------------------------------------------------------------- /kernel/src/bug/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/bug/debug.c -------------------------------------------------------------------------------- /kernel/src/bug/panic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/bug/panic.c -------------------------------------------------------------------------------- /kernel/src/device/device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/device/device.c -------------------------------------------------------------------------------- /kernel/src/driver/bus/pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/bus/pci.c -------------------------------------------------------------------------------- /kernel/src/driver/console/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/console/console.c -------------------------------------------------------------------------------- /kernel/src/driver/console/keyboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/console/keyboard.c -------------------------------------------------------------------------------- /kernel/src/driver/console/tty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/console/tty.c -------------------------------------------------------------------------------- /kernel/src/driver/console/vram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/console/vram.c -------------------------------------------------------------------------------- /kernel/src/driver/disk/ahci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/disk/ahci.c -------------------------------------------------------------------------------- /kernel/src/driver/disk/ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/disk/ide.c -------------------------------------------------------------------------------- /kernel/src/driver/net/e1000.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/driver/net/e1000.c -------------------------------------------------------------------------------- /kernel/src/fs/binfmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/binfmt.c -------------------------------------------------------------------------------- /kernel/src/fs/binfmt/binfmt_elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/binfmt/binfmt_elf.c -------------------------------------------------------------------------------- /kernel/src/fs/binfmt/binfmt_shebang.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/binfmt/binfmt_shebang.c -------------------------------------------------------------------------------- /kernel/src/fs/block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/block.c -------------------------------------------------------------------------------- /kernel/src/fs/char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/char.c -------------------------------------------------------------------------------- /kernel/src/fs/disk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/disk.c -------------------------------------------------------------------------------- /kernel/src/fs/exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/exec.c -------------------------------------------------------------------------------- /kernel/src/fs/fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/fd.c -------------------------------------------------------------------------------- /kernel/src/fs/label/gpt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/label/gpt.c -------------------------------------------------------------------------------- /kernel/src/fs/label/msdos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/label/msdos.c -------------------------------------------------------------------------------- /kernel/src/fs/rootramfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/rootramfs.c -------------------------------------------------------------------------------- /kernel/src/fs/subblock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/subblock.c -------------------------------------------------------------------------------- /kernel/src/fs/type/devfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/type/devfs.c -------------------------------------------------------------------------------- /kernel/src/fs/type/ramfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/type/ramfs.c -------------------------------------------------------------------------------- /kernel/src/fs/vfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/fs/vfs.c -------------------------------------------------------------------------------- /kernel/src/init/kmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/init/kmain.c -------------------------------------------------------------------------------- /kernel/src/init/param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/init/param.c -------------------------------------------------------------------------------- /kernel/src/lib/math.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/lib/math.c -------------------------------------------------------------------------------- /kernel/src/lib/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/lib/printf.c -------------------------------------------------------------------------------- /kernel/src/lib/rand.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/lib/rand.c -------------------------------------------------------------------------------- /kernel/src/lib/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/lib/string.c -------------------------------------------------------------------------------- /kernel/src/log/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/log/log.c -------------------------------------------------------------------------------- /kernel/src/misc/stats.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/misc/stats.c -------------------------------------------------------------------------------- /kernel/src/misc/sysrq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/misc/sysrq.c -------------------------------------------------------------------------------- /kernel/src/mm/cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/mm/cache.c -------------------------------------------------------------------------------- /kernel/src/mm/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/mm/mm.c -------------------------------------------------------------------------------- /kernel/src/mm/module.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/mm/module.c -------------------------------------------------------------------------------- /kernel/src/net/eth/eth.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/eth/eth.c -------------------------------------------------------------------------------- /kernel/src/net/interface.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/interface.c -------------------------------------------------------------------------------- /kernel/src/net/ip/af_inet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/af_inet.c -------------------------------------------------------------------------------- /kernel/src/net/ip/arp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/arp.c -------------------------------------------------------------------------------- /kernel/src/net/ip/checksum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/checksum.h -------------------------------------------------------------------------------- /kernel/src/net/ip/dhcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/dhcp.c -------------------------------------------------------------------------------- /kernel/src/net/ip/icmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/icmp.c -------------------------------------------------------------------------------- /kernel/src/net/ip/ip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/ip.c -------------------------------------------------------------------------------- /kernel/src/net/ip/nbns.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/nbns.c -------------------------------------------------------------------------------- /kernel/src/net/ip/raw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/raw.c -------------------------------------------------------------------------------- /kernel/src/net/ip/tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/tcp.c -------------------------------------------------------------------------------- /kernel/src/net/ip/udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/ip/udp.c -------------------------------------------------------------------------------- /kernel/src/net/packet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/packet.c -------------------------------------------------------------------------------- /kernel/src/net/socket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/net/socket.c -------------------------------------------------------------------------------- /kernel/src/sched/ktaskd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/sched/ktaskd.c -------------------------------------------------------------------------------- /kernel/src/sched/proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/sched/proc.c -------------------------------------------------------------------------------- /kernel/src/sched/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/sched/sched.c -------------------------------------------------------------------------------- /kernel/src/sched/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/sched/syscall.c -------------------------------------------------------------------------------- /kernel/src/sync/semaphore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/sync/semaphore.c -------------------------------------------------------------------------------- /kernel/src/time/clock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/time/clock.c -------------------------------------------------------------------------------- /kernel/src/time/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/kernel/src/time/timer.c -------------------------------------------------------------------------------- /libc/.gitignore: -------------------------------------------------------------------------------- 1 | dl 2 | src 3 | build 4 | dist 5 | -------------------------------------------------------------------------------- /libc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/Makefile -------------------------------------------------------------------------------- /libc/patch/newlib-3.0.0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/patch/newlib-3.0.0.patch -------------------------------------------------------------------------------- /libc/sys/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/Makefile.am -------------------------------------------------------------------------------- /libc/sys/configure.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/configure.in -------------------------------------------------------------------------------- /libc/sys/crt0.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libc/sys/include/machine/_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/machine/_types.h -------------------------------------------------------------------------------- /libc/sys/include/sys/dirent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/dirent.h -------------------------------------------------------------------------------- /libc/sys/include/sys/signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/signal.h -------------------------------------------------------------------------------- /libc/sys/include/sys/termios.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/termios.h -------------------------------------------------------------------------------- /libc/sys/include/sys/utmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/utmp.h -------------------------------------------------------------------------------- /libc/sys/include/sys/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/vfs.h -------------------------------------------------------------------------------- /libc/sys/include/sys/wait.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libc/sys/include/sys/wait.h -------------------------------------------------------------------------------- /libc/sys/syscalls.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libk/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /libk/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/Makefile -------------------------------------------------------------------------------- /libk/inc/arpa/inet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/arpa/inet.h -------------------------------------------------------------------------------- /libk/inc/k/compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/compiler.h -------------------------------------------------------------------------------- /libk/inc/k/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/log.h -------------------------------------------------------------------------------- /libk/inc/k/math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/math.h -------------------------------------------------------------------------------- /libk/inc/k/shared: -------------------------------------------------------------------------------- 1 | ../../../shared/build/inc/shared -------------------------------------------------------------------------------- /libk/inc/k/sys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/sys.h -------------------------------------------------------------------------------- /libk/inc/k/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/syscall.h -------------------------------------------------------------------------------- /libk/inc/k/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/k/types.h -------------------------------------------------------------------------------- /libk/inc/mntent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/mntent.h -------------------------------------------------------------------------------- /libk/inc/netdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/netdb.h -------------------------------------------------------------------------------- /libk/inc/netinet/in.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/netinet/in.h -------------------------------------------------------------------------------- /libk/inc/sgtty.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/sgtty.h -------------------------------------------------------------------------------- /libk/inc/sys/ioctl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/sys/ioctl.h -------------------------------------------------------------------------------- /libk/inc/sys/socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/sys/socket.h -------------------------------------------------------------------------------- /libk/inc/sys/utsname.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/inc/sys/utsname.h -------------------------------------------------------------------------------- /libk/src/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/Makefile.am -------------------------------------------------------------------------------- /libk/src/configure.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/configure.in -------------------------------------------------------------------------------- /libk/src/crt0.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/crt0.S -------------------------------------------------------------------------------- /libk/src/ctors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/ctors.c -------------------------------------------------------------------------------- /libk/src/exec/execl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/exec/execl.c -------------------------------------------------------------------------------- /libk/src/exec/execle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/exec/execle.c -------------------------------------------------------------------------------- /libk/src/exec/execlp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/exec/execlp.c -------------------------------------------------------------------------------- /libk/src/exec/execv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/exec/execv.c -------------------------------------------------------------------------------- /libk/src/exec/execvp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/exec/execvp.c -------------------------------------------------------------------------------- /libk/src/hook/environ.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | char **environ; 4 | -------------------------------------------------------------------------------- /libk/src/hook/errno.c: -------------------------------------------------------------------------------- 1 | int errno; 2 | -------------------------------------------------------------------------------- /libk/src/hook/fcntl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/fcntl.c -------------------------------------------------------------------------------- /libk/src/hook/gettod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/gettod.c -------------------------------------------------------------------------------- /libk/src/hook/grp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/grp.c -------------------------------------------------------------------------------- /libk/src/hook/ioctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/ioctl.c -------------------------------------------------------------------------------- /libk/src/hook/netdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/netdb.c -------------------------------------------------------------------------------- /libk/src/hook/pthread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/pthread.c -------------------------------------------------------------------------------- /libk/src/hook/sbrk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/sbrk.c -------------------------------------------------------------------------------- /libk/src/hook/select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/select.c -------------------------------------------------------------------------------- /libk/src/hook/sgtty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/sgtty.c -------------------------------------------------------------------------------- /libk/src/hook/signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/signal.c -------------------------------------------------------------------------------- /libk/src/hook/socket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/socket.c -------------------------------------------------------------------------------- /libk/src/hook/stat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/stat.c -------------------------------------------------------------------------------- /libk/src/hook/term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/term.c -------------------------------------------------------------------------------- /libk/src/hook/termios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/termios.c -------------------------------------------------------------------------------- /libk/src/hook/times.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/times.c -------------------------------------------------------------------------------- /libk/src/hook/unistd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/unistd.c -------------------------------------------------------------------------------- /libk/src/hook/ustsname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/ustsname.c -------------------------------------------------------------------------------- /libk/src/hook/utime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/utime.c -------------------------------------------------------------------------------- /libk/src/hook/vfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/vfs.c -------------------------------------------------------------------------------- /libk/src/hook/wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/hook/wait.c -------------------------------------------------------------------------------- /libk/src/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/log.c -------------------------------------------------------------------------------- /libk/src/mntent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/mntent.c -------------------------------------------------------------------------------- /libk/src/posix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/posix.c -------------------------------------------------------------------------------- /libk/src/progname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/progname.c -------------------------------------------------------------------------------- /libk/src/shared: -------------------------------------------------------------------------------- 1 | ../../shared/build/src/libk/shared -------------------------------------------------------------------------------- /libk/src/syscall.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/syscall.s -------------------------------------------------------------------------------- /libk/src/time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/libk/src/time.c -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/logo.png -------------------------------------------------------------------------------- /shared/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/Makefile -------------------------------------------------------------------------------- /shared/data/syscalls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/data/syscalls.txt -------------------------------------------------------------------------------- /shared/res/.nonempty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/res/.nonempty -------------------------------------------------------------------------------- /shared/scripts/makedecls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/scripts/makedecls.py -------------------------------------------------------------------------------- /shared/scripts/makeents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/scripts/makeents.py -------------------------------------------------------------------------------- /shared/scripts/makehooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/shared/scripts/makehooks.py -------------------------------------------------------------------------------- /toolchain/.gitignore: -------------------------------------------------------------------------------- 1 | dl 2 | src 3 | build 4 | dist 5 | -------------------------------------------------------------------------------- /toolchain/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/toolchain/Makefile -------------------------------------------------------------------------------- /toolchain/patch/binutils-2.30.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/toolchain/patch/binutils-2.30.patch -------------------------------------------------------------------------------- /toolchain/patch/gcc-8.1.0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/toolchain/patch/gcc-8.1.0.patch -------------------------------------------------------------------------------- /util/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/util/Makefile -------------------------------------------------------------------------------- /util/src/mkrootramfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoek/k-os/HEAD/util/src/mkrootramfs.c --------------------------------------------------------------------------------