├── .gdbinit ├── .gitignore ├── .vscode ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── Dockerfile ├── README.md ├── applications ├── Makefile ├── SmallerC │ └── test_SmallerC.c ├── cp │ └── cp.c ├── edit │ └── edit.c ├── fasm │ └── test_fasm.asm ├── image │ └── image.c ├── init │ └── init.c ├── ls │ └── ls.c ├── mkdir │ └── mkdir.c ├── mv │ └── mv.c ├── ping │ └── ping.c ├── rm │ └── rm.c ├── rmdir │ └── rmdir.c ├── shell │ └── shell.c └── test │ └── test.c ├── bootloader ├── Makefile ├── README.md ├── arch │ └── i386 │ │ ├── a20.asm │ │ ├── ata.c │ │ ├── ata.h │ │ ├── bootloader.asm │ │ ├── disk.asm │ │ ├── gdt.asm │ │ ├── linker.ld │ │ ├── make.config │ │ ├── memory.asm │ │ ├── port_io.h │ │ ├── print.asm │ │ ├── print_hex.asm │ │ ├── print_pm.asm │ │ ├── switch_pm.asm │ │ ├── tty.c │ │ ├── tty.h │ │ ├── utility.asm │ │ ├── vesa.asm │ │ └── vga.h ├── bootloader │ └── main.c ├── elf │ ├── elf.c │ └── elf.h ├── multiboot │ └── multiboot.h ├── string │ ├── string.c │ └── string.h ├── tar │ ├── tar.c │ └── tar.h └── video │ ├── vbe.h │ ├── video.c │ └── video.h ├── clean.sh ├── cleanup_tap.sh ├── config.sh ├── default-host.sh ├── headers.sh ├── iso.sh ├── kernel ├── Makefile ├── arch │ └── i386 │ │ ├── arch_init │ │ └── arch_init.c │ │ ├── ata │ │ └── ata.c │ │ ├── boot │ │ ├── boot.asm │ │ └── gdt.asm │ │ ├── cpu │ │ ├── cpu.c │ │ └── cpuid.asm │ │ ├── crt │ │ ├── crti.S │ │ └── crtn.S │ │ ├── idt │ │ └── idt.c │ │ ├── isr │ │ ├── interrupt.asm │ │ └── isr.c │ │ ├── keyboard │ │ └── keyboard.c │ │ ├── linker.ld │ │ ├── make.config │ │ ├── paging │ │ └── paging.c │ │ ├── pci │ │ └── pci.c │ │ ├── pic │ │ └── pic.c │ │ ├── process │ │ ├── process.c │ │ ├── start_init.asm │ │ └── switch_kernel_context.asm │ │ ├── rtl8139 │ │ └── rtl8139.c │ │ ├── serial │ │ └── serial.c │ │ ├── syscall │ │ └── syscall.c │ │ ├── time │ │ └── time.c │ │ ├── timer │ │ └── timer.c │ │ └── tty │ │ └── tty.c ├── block_io │ └── block_io.c ├── console │ └── console.c ├── elf │ └── elf.c ├── fat │ └── fat.c ├── heap │ └── heap.c ├── include │ ├── arch │ │ └── i386 │ │ │ └── kernel │ │ │ ├── cpu.h │ │ │ ├── idt.h │ │ │ ├── isr.h │ │ │ ├── pic.h │ │ │ ├── port_io.h │ │ │ └── segmentation.h │ ├── common.h │ ├── datetime.h │ ├── fs.h │ ├── fsstat.h │ ├── kernel │ │ ├── arch_init.h │ │ ├── arp.h │ │ ├── ata.h │ │ ├── block_io.h │ │ ├── console.h │ │ ├── cpu.h │ │ ├── elf.h │ │ ├── errno.h │ │ ├── ethernet.h │ │ ├── fat.h │ │ ├── file_system.h │ │ ├── heap.h │ │ ├── icmp.h │ │ ├── ipv4.h │ │ ├── keyboard.h │ │ ├── lock.h │ │ ├── memory_bitmap.h │ │ ├── multiboot.h │ │ ├── network.h │ │ ├── paging.h │ │ ├── panic.h │ │ ├── pci.h │ │ ├── pipe.h │ │ ├── process.h │ │ ├── rtl8139.h │ │ ├── serial.h │ │ ├── socket.h │ │ ├── syscall.h │ │ ├── tar.h │ │ ├── time.h │ │ ├── timer.h │ │ ├── tty.h │ │ ├── types.h │ │ ├── vbe.h │ │ ├── vfs.h │ │ ├── vga.h │ │ └── video.h │ ├── network.h │ ├── syscall.h │ └── syscallnum.h ├── kernel │ └── kernel.c ├── lock │ └── lock.c ├── memory_bitmap │ └── memory_bitmap.c ├── network │ ├── arp.c │ ├── ethernet.c │ ├── icmp.c │ ├── ipv4.c │ └── network.c ├── panic │ └── panic.c ├── pipe │ └── pipe.c ├── socket │ └── socket.c ├── tar │ └── tar.c ├── vfs │ └── vfs.c └── video │ └── video.c ├── libc ├── .gitignore ├── Makefile ├── arch │ └── i386 │ │ ├── crt │ │ └── crt0.S │ │ └── make.config ├── assert │ └── assert.c ├── include │ ├── assert.h │ ├── stdio.h │ ├── stdlib.h │ ├── string.h │ ├── sys │ │ ├── cdefs.h │ │ ├── time.h │ │ └── types.h │ └── time.h ├── stdio │ ├── fileio.c │ ├── printf.c │ ├── putchar.c │ └── puts.c ├── stdlib │ ├── abort.c │ ├── exit.c │ ├── getenv.c │ └── malloc.c ├── string │ ├── memcmp.c │ ├── memcpy.c │ ├── memmove.c │ ├── memset.c │ ├── strcmp.c │ ├── strcpy.c │ ├── strdup.c │ └── strlen.c └── time │ └── time.c ├── qemu.sh ├── rebuild_newlib.sh ├── setup_tap.sh └── target-triplet-to-arch.sh /.gdbinit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.gdbinit -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/README.md -------------------------------------------------------------------------------- /applications/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/Makefile -------------------------------------------------------------------------------- /applications/SmallerC/test_SmallerC.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/SmallerC/test_SmallerC.c -------------------------------------------------------------------------------- /applications/cp/cp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/cp/cp.c -------------------------------------------------------------------------------- /applications/edit/edit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/edit/edit.c -------------------------------------------------------------------------------- /applications/fasm/test_fasm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/fasm/test_fasm.asm -------------------------------------------------------------------------------- /applications/image/image.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/image/image.c -------------------------------------------------------------------------------- /applications/init/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/init/init.c -------------------------------------------------------------------------------- /applications/ls/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/ls/ls.c -------------------------------------------------------------------------------- /applications/mkdir/mkdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/mkdir/mkdir.c -------------------------------------------------------------------------------- /applications/mv/mv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/mv/mv.c -------------------------------------------------------------------------------- /applications/ping/ping.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/ping/ping.c -------------------------------------------------------------------------------- /applications/rm/rm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/rm/rm.c -------------------------------------------------------------------------------- /applications/rmdir/rmdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/rmdir/rmdir.c -------------------------------------------------------------------------------- /applications/shell/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/shell/shell.c -------------------------------------------------------------------------------- /applications/test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/applications/test/test.c -------------------------------------------------------------------------------- /bootloader/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/Makefile -------------------------------------------------------------------------------- /bootloader/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/README.md -------------------------------------------------------------------------------- /bootloader/arch/i386/a20.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/a20.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/ata.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/ata.c -------------------------------------------------------------------------------- /bootloader/arch/i386/ata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/ata.h -------------------------------------------------------------------------------- /bootloader/arch/i386/bootloader.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/bootloader.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/disk.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/disk.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/gdt.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/linker.ld -------------------------------------------------------------------------------- /bootloader/arch/i386/make.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/make.config -------------------------------------------------------------------------------- /bootloader/arch/i386/memory.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/memory.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/port_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/port_io.h -------------------------------------------------------------------------------- /bootloader/arch/i386/print.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/print.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/print_hex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/print_hex.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/print_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/print_pm.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/switch_pm.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/switch_pm.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/tty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/tty.c -------------------------------------------------------------------------------- /bootloader/arch/i386/tty.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/tty.h -------------------------------------------------------------------------------- /bootloader/arch/i386/utility.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/utility.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/vesa.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/vesa.asm -------------------------------------------------------------------------------- /bootloader/arch/i386/vga.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/arch/i386/vga.h -------------------------------------------------------------------------------- /bootloader/bootloader/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/bootloader/main.c -------------------------------------------------------------------------------- /bootloader/elf/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/elf/elf.c -------------------------------------------------------------------------------- /bootloader/elf/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/elf/elf.h -------------------------------------------------------------------------------- /bootloader/multiboot/multiboot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/multiboot/multiboot.h -------------------------------------------------------------------------------- /bootloader/string/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/string/string.c -------------------------------------------------------------------------------- /bootloader/string/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/string/string.h -------------------------------------------------------------------------------- /bootloader/tar/tar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/tar/tar.c -------------------------------------------------------------------------------- /bootloader/tar/tar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/tar/tar.h -------------------------------------------------------------------------------- /bootloader/video/vbe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/video/vbe.h -------------------------------------------------------------------------------- /bootloader/video/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/video/video.c -------------------------------------------------------------------------------- /bootloader/video/video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/bootloader/video/video.h -------------------------------------------------------------------------------- /clean.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/clean.sh -------------------------------------------------------------------------------- /cleanup_tap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/cleanup_tap.sh -------------------------------------------------------------------------------- /config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/config.sh -------------------------------------------------------------------------------- /default-host.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo i686-elf 3 | -------------------------------------------------------------------------------- /headers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/headers.sh -------------------------------------------------------------------------------- /iso.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/iso.sh -------------------------------------------------------------------------------- /kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/Makefile -------------------------------------------------------------------------------- /kernel/arch/i386/arch_init/arch_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/arch_init/arch_init.c -------------------------------------------------------------------------------- /kernel/arch/i386/ata/ata.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/ata/ata.c -------------------------------------------------------------------------------- /kernel/arch/i386/boot/boot.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/boot/boot.asm -------------------------------------------------------------------------------- /kernel/arch/i386/boot/gdt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/boot/gdt.asm -------------------------------------------------------------------------------- /kernel/arch/i386/cpu/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/cpu/cpu.c -------------------------------------------------------------------------------- /kernel/arch/i386/cpu/cpuid.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/cpu/cpuid.asm -------------------------------------------------------------------------------- /kernel/arch/i386/crt/crti.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/crt/crti.S -------------------------------------------------------------------------------- /kernel/arch/i386/crt/crtn.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/crt/crtn.S -------------------------------------------------------------------------------- /kernel/arch/i386/idt/idt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/idt/idt.c -------------------------------------------------------------------------------- /kernel/arch/i386/isr/interrupt.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/isr/interrupt.asm -------------------------------------------------------------------------------- /kernel/arch/i386/isr/isr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/isr/isr.c -------------------------------------------------------------------------------- /kernel/arch/i386/keyboard/keyboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/keyboard/keyboard.c -------------------------------------------------------------------------------- /kernel/arch/i386/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/linker.ld -------------------------------------------------------------------------------- /kernel/arch/i386/make.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/make.config -------------------------------------------------------------------------------- /kernel/arch/i386/paging/paging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/paging/paging.c -------------------------------------------------------------------------------- /kernel/arch/i386/pci/pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/pci/pci.c -------------------------------------------------------------------------------- /kernel/arch/i386/pic/pic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/pic/pic.c -------------------------------------------------------------------------------- /kernel/arch/i386/process/process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/process/process.c -------------------------------------------------------------------------------- /kernel/arch/i386/process/start_init.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/process/start_init.asm -------------------------------------------------------------------------------- /kernel/arch/i386/process/switch_kernel_context.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/process/switch_kernel_context.asm -------------------------------------------------------------------------------- /kernel/arch/i386/rtl8139/rtl8139.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/rtl8139/rtl8139.c -------------------------------------------------------------------------------- /kernel/arch/i386/serial/serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/serial/serial.c -------------------------------------------------------------------------------- /kernel/arch/i386/syscall/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/syscall/syscall.c -------------------------------------------------------------------------------- /kernel/arch/i386/time/time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/time/time.c -------------------------------------------------------------------------------- /kernel/arch/i386/timer/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/timer/timer.c -------------------------------------------------------------------------------- /kernel/arch/i386/tty/tty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/arch/i386/tty/tty.c -------------------------------------------------------------------------------- /kernel/block_io/block_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/block_io/block_io.c -------------------------------------------------------------------------------- /kernel/console/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/console/console.c -------------------------------------------------------------------------------- /kernel/elf/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/elf/elf.c -------------------------------------------------------------------------------- /kernel/fat/fat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/fat/fat.c -------------------------------------------------------------------------------- /kernel/heap/heap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/heap/heap.c -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/cpu.h -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/idt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/idt.h -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/isr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/isr.h -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/pic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/pic.h -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/port_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/port_io.h -------------------------------------------------------------------------------- /kernel/include/arch/i386/kernel/segmentation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/arch/i386/kernel/segmentation.h -------------------------------------------------------------------------------- /kernel/include/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/common.h -------------------------------------------------------------------------------- /kernel/include/datetime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/datetime.h -------------------------------------------------------------------------------- /kernel/include/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/fs.h -------------------------------------------------------------------------------- /kernel/include/fsstat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/fsstat.h -------------------------------------------------------------------------------- /kernel/include/kernel/arch_init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/arch_init.h -------------------------------------------------------------------------------- /kernel/include/kernel/arp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/arp.h -------------------------------------------------------------------------------- /kernel/include/kernel/ata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/ata.h -------------------------------------------------------------------------------- /kernel/include/kernel/block_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/block_io.h -------------------------------------------------------------------------------- /kernel/include/kernel/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/console.h -------------------------------------------------------------------------------- /kernel/include/kernel/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/cpu.h -------------------------------------------------------------------------------- /kernel/include/kernel/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/elf.h -------------------------------------------------------------------------------- /kernel/include/kernel/errno.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/errno.h -------------------------------------------------------------------------------- /kernel/include/kernel/ethernet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/ethernet.h -------------------------------------------------------------------------------- /kernel/include/kernel/fat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/fat.h -------------------------------------------------------------------------------- /kernel/include/kernel/file_system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/file_system.h -------------------------------------------------------------------------------- /kernel/include/kernel/heap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/heap.h -------------------------------------------------------------------------------- /kernel/include/kernel/icmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/icmp.h -------------------------------------------------------------------------------- /kernel/include/kernel/ipv4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/ipv4.h -------------------------------------------------------------------------------- /kernel/include/kernel/keyboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/keyboard.h -------------------------------------------------------------------------------- /kernel/include/kernel/lock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/lock.h -------------------------------------------------------------------------------- /kernel/include/kernel/memory_bitmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/memory_bitmap.h -------------------------------------------------------------------------------- /kernel/include/kernel/multiboot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/multiboot.h -------------------------------------------------------------------------------- /kernel/include/kernel/network.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/network.h -------------------------------------------------------------------------------- /kernel/include/kernel/paging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/paging.h -------------------------------------------------------------------------------- /kernel/include/kernel/panic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/panic.h -------------------------------------------------------------------------------- /kernel/include/kernel/pci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/pci.h -------------------------------------------------------------------------------- /kernel/include/kernel/pipe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/pipe.h -------------------------------------------------------------------------------- /kernel/include/kernel/process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/process.h -------------------------------------------------------------------------------- /kernel/include/kernel/rtl8139.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/rtl8139.h -------------------------------------------------------------------------------- /kernel/include/kernel/serial.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/serial.h -------------------------------------------------------------------------------- /kernel/include/kernel/socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/socket.h -------------------------------------------------------------------------------- /kernel/include/kernel/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/syscall.h -------------------------------------------------------------------------------- /kernel/include/kernel/tar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/tar.h -------------------------------------------------------------------------------- /kernel/include/kernel/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/time.h -------------------------------------------------------------------------------- /kernel/include/kernel/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/timer.h -------------------------------------------------------------------------------- /kernel/include/kernel/tty.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/tty.h -------------------------------------------------------------------------------- /kernel/include/kernel/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/types.h -------------------------------------------------------------------------------- /kernel/include/kernel/vbe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/vbe.h -------------------------------------------------------------------------------- /kernel/include/kernel/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/vfs.h -------------------------------------------------------------------------------- /kernel/include/kernel/vga.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/vga.h -------------------------------------------------------------------------------- /kernel/include/kernel/video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/kernel/video.h -------------------------------------------------------------------------------- /kernel/include/network.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/network.h -------------------------------------------------------------------------------- /kernel/include/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/syscall.h -------------------------------------------------------------------------------- /kernel/include/syscallnum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/include/syscallnum.h -------------------------------------------------------------------------------- /kernel/kernel/kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/kernel/kernel.c -------------------------------------------------------------------------------- /kernel/lock/lock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/lock/lock.c -------------------------------------------------------------------------------- /kernel/memory_bitmap/memory_bitmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/memory_bitmap/memory_bitmap.c -------------------------------------------------------------------------------- /kernel/network/arp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/network/arp.c -------------------------------------------------------------------------------- /kernel/network/ethernet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/network/ethernet.c -------------------------------------------------------------------------------- /kernel/network/icmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/network/icmp.c -------------------------------------------------------------------------------- /kernel/network/ipv4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/network/ipv4.c -------------------------------------------------------------------------------- /kernel/network/network.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/network/network.c -------------------------------------------------------------------------------- /kernel/panic/panic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/panic/panic.c -------------------------------------------------------------------------------- /kernel/pipe/pipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/pipe/pipe.c -------------------------------------------------------------------------------- /kernel/socket/socket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/socket/socket.c -------------------------------------------------------------------------------- /kernel/tar/tar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/tar/tar.c -------------------------------------------------------------------------------- /kernel/vfs/vfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/vfs/vfs.c -------------------------------------------------------------------------------- /kernel/video/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/kernel/video/video.c -------------------------------------------------------------------------------- /libc/.gitignore: -------------------------------------------------------------------------------- 1 | *.a 2 | *.d 3 | *.o 4 | -------------------------------------------------------------------------------- /libc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/Makefile -------------------------------------------------------------------------------- /libc/arch/i386/crt/crt0.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/arch/i386/crt/crt0.S -------------------------------------------------------------------------------- /libc/arch/i386/make.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/arch/i386/make.config -------------------------------------------------------------------------------- /libc/assert/assert.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/assert/assert.c -------------------------------------------------------------------------------- /libc/include/assert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/assert.h -------------------------------------------------------------------------------- /libc/include/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/stdio.h -------------------------------------------------------------------------------- /libc/include/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/stdlib.h -------------------------------------------------------------------------------- /libc/include/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/string.h -------------------------------------------------------------------------------- /libc/include/sys/cdefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/sys/cdefs.h -------------------------------------------------------------------------------- /libc/include/sys/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/sys/time.h -------------------------------------------------------------------------------- /libc/include/sys/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/sys/types.h -------------------------------------------------------------------------------- /libc/include/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/include/time.h -------------------------------------------------------------------------------- /libc/stdio/fileio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdio/fileio.c -------------------------------------------------------------------------------- /libc/stdio/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdio/printf.c -------------------------------------------------------------------------------- /libc/stdio/putchar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdio/putchar.c -------------------------------------------------------------------------------- /libc/stdio/puts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdio/puts.c -------------------------------------------------------------------------------- /libc/stdlib/abort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdlib/abort.c -------------------------------------------------------------------------------- /libc/stdlib/exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdlib/exit.c -------------------------------------------------------------------------------- /libc/stdlib/getenv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdlib/getenv.c -------------------------------------------------------------------------------- /libc/stdlib/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/stdlib/malloc.c -------------------------------------------------------------------------------- /libc/string/memcmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/memcmp.c -------------------------------------------------------------------------------- /libc/string/memcpy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/memcpy.c -------------------------------------------------------------------------------- /libc/string/memmove.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/memmove.c -------------------------------------------------------------------------------- /libc/string/memset.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/memset.c -------------------------------------------------------------------------------- /libc/string/strcmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/strcmp.c -------------------------------------------------------------------------------- /libc/string/strcpy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/strcpy.c -------------------------------------------------------------------------------- /libc/string/strdup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/strdup.c -------------------------------------------------------------------------------- /libc/string/strlen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/string/strlen.c -------------------------------------------------------------------------------- /libc/time/time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/libc/time/time.c -------------------------------------------------------------------------------- /qemu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/qemu.sh -------------------------------------------------------------------------------- /rebuild_newlib.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/rebuild_newlib.sh -------------------------------------------------------------------------------- /setup_tap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/setup_tap.sh -------------------------------------------------------------------------------- /target-triplet-to-arch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/httpe/simple-os/HEAD/target-triplet-to-arch.sh --------------------------------------------------------------------------------