├── .DS_Store ├── .builds └── ci.yml ├── .clang-tidy ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .gitmodules ├── .idea ├── Kernel.iml ├── editor.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── CONTRIBUTING.md ├── Kernel.sublime-project ├── LICENSE ├── Makefile ├── README.md ├── compile_flags.txt ├── extern └── olive.h ├── inc ├── common.h ├── limits.h ├── lj-libc │ ├── errno.h │ ├── limits.h │ ├── locale.h │ ├── math.h │ ├── stdio.h │ └── time.h ├── lock.h ├── luasyntax.h ├── luck │ ├── arch │ │ └── x86_64 │ │ │ ├── acpi │ │ │ ├── acpi.h │ │ │ └── madt.h │ │ │ ├── cpu.h │ │ │ ├── gdt.h │ │ │ ├── interrupts │ │ │ ├── idt.h │ │ │ ├── lapic.h │ │ │ └── pic.h │ │ │ ├── io │ │ │ ├── port.h │ │ │ └── ps2.h │ │ │ └── msr.h │ ├── bootloader │ │ └── limine.h │ ├── io │ │ ├── console.h │ │ ├── framebuffer.h │ │ └── log.h │ ├── lua │ │ └── kernel.h │ ├── memory │ │ ├── magazines.h │ │ └── manager.h │ └── processes │ │ ├── ipc.h │ │ └── scheduler.h ├── macro_util.h ├── memory.h ├── stdarg.h ├── stdatomic.h ├── stdbool.h ├── stddef.h ├── stdint.h ├── stdio.h ├── stdlib.h ├── stdnoreturn.h └── string.h ├── res ├── font.bin ├── linker.ld └── powered-by-lua.bmp └── src ├── arch └── x86_64 │ ├── acpi │ ├── madt.c │ ├── rsdp.c │ └── sdt.c │ ├── cpu.c │ ├── gdt.c │ ├── interrupts │ ├── idt.c │ ├── interrupts.asm │ ├── lapic.c │ └── pic.c │ ├── io │ ├── port.c │ └── ps2.c │ └── map.c ├── bootloader └── limine.c ├── io ├── console.c ├── framebuffer.c └── log.c ├── lib ├── libsupport.c ├── ljsupport.c ├── math.c └── string.c ├── lua └── kernel.c ├── memory ├── kalloc.c └── magazines.c ├── processes ├── ipc.c └── scheduler.c └── start.c /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.DS_Store -------------------------------------------------------------------------------- /.builds/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.builds/ci.yml -------------------------------------------------------------------------------- /.clang-tidy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.clang-tidy -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.gitmodules -------------------------------------------------------------------------------- /.idea/Kernel.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/Kernel.iml -------------------------------------------------------------------------------- /.idea/editor.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/editor.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Kernel.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/Kernel.sublime-project -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/README.md -------------------------------------------------------------------------------- /compile_flags.txt: -------------------------------------------------------------------------------- 1 | -Iinc 2 | -Iextern/ 3 | -target 4 | x86_64-elf 5 | -ffreestanding 6 | -std=gnu2x 7 | -------------------------------------------------------------------------------- /extern/olive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/extern/olive.h -------------------------------------------------------------------------------- /inc/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/common.h -------------------------------------------------------------------------------- /inc/limits.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lj-libc/errno.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/errno.h -------------------------------------------------------------------------------- /inc/lj-libc/limits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/limits.h -------------------------------------------------------------------------------- /inc/lj-libc/locale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/locale.h -------------------------------------------------------------------------------- /inc/lj-libc/math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/math.h -------------------------------------------------------------------------------- /inc/lj-libc/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/stdio.h -------------------------------------------------------------------------------- /inc/lj-libc/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lj-libc/time.h -------------------------------------------------------------------------------- /inc/lock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/lock.h -------------------------------------------------------------------------------- /inc/luasyntax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luasyntax.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/acpi/acpi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/acpi/acpi.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/acpi/madt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/acpi/madt.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/cpu.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/gdt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/gdt.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/interrupts/idt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/interrupts/idt.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/interrupts/lapic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/interrupts/lapic.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/interrupts/pic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/interrupts/pic.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/io/port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/io/port.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/io/ps2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/io/ps2.h -------------------------------------------------------------------------------- /inc/luck/arch/x86_64/msr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/arch/x86_64/msr.h -------------------------------------------------------------------------------- /inc/luck/bootloader/limine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/bootloader/limine.h -------------------------------------------------------------------------------- /inc/luck/io/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/io/console.h -------------------------------------------------------------------------------- /inc/luck/io/framebuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/io/framebuffer.h -------------------------------------------------------------------------------- /inc/luck/io/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/io/log.h -------------------------------------------------------------------------------- /inc/luck/lua/kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/lua/kernel.h -------------------------------------------------------------------------------- /inc/luck/memory/magazines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/memory/magazines.h -------------------------------------------------------------------------------- /inc/luck/memory/manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/memory/manager.h -------------------------------------------------------------------------------- /inc/luck/processes/ipc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/processes/ipc.h -------------------------------------------------------------------------------- /inc/luck/processes/scheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/luck/processes/scheduler.h -------------------------------------------------------------------------------- /inc/macro_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/macro_util.h -------------------------------------------------------------------------------- /inc/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/memory.h -------------------------------------------------------------------------------- /inc/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stdarg.h -------------------------------------------------------------------------------- /inc/stdatomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stdatomic.h -------------------------------------------------------------------------------- /inc/stdbool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stdbool.h -------------------------------------------------------------------------------- /inc/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stddef.h -------------------------------------------------------------------------------- /inc/stdint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stdint.h -------------------------------------------------------------------------------- /inc/stdio.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/stdlib.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/stdnoreturn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/stdnoreturn.h -------------------------------------------------------------------------------- /inc/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/inc/string.h -------------------------------------------------------------------------------- /res/font.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/res/font.bin -------------------------------------------------------------------------------- /res/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/res/linker.ld -------------------------------------------------------------------------------- /res/powered-by-lua.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/res/powered-by-lua.bmp -------------------------------------------------------------------------------- /src/arch/x86_64/acpi/madt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/acpi/madt.c -------------------------------------------------------------------------------- /src/arch/x86_64/acpi/rsdp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/acpi/rsdp.c -------------------------------------------------------------------------------- /src/arch/x86_64/acpi/sdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/acpi/sdt.c -------------------------------------------------------------------------------- /src/arch/x86_64/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/cpu.c -------------------------------------------------------------------------------- /src/arch/x86_64/gdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/gdt.c -------------------------------------------------------------------------------- /src/arch/x86_64/interrupts/idt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/interrupts/idt.c -------------------------------------------------------------------------------- /src/arch/x86_64/interrupts/interrupts.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/interrupts/interrupts.asm -------------------------------------------------------------------------------- /src/arch/x86_64/interrupts/lapic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/interrupts/lapic.c -------------------------------------------------------------------------------- /src/arch/x86_64/interrupts/pic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/interrupts/pic.c -------------------------------------------------------------------------------- /src/arch/x86_64/io/port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/io/port.c -------------------------------------------------------------------------------- /src/arch/x86_64/io/ps2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/io/ps2.c -------------------------------------------------------------------------------- /src/arch/x86_64/map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/arch/x86_64/map.c -------------------------------------------------------------------------------- /src/bootloader/limine.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/bootloader/limine.c -------------------------------------------------------------------------------- /src/io/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/io/console.c -------------------------------------------------------------------------------- /src/io/framebuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/io/framebuffer.c -------------------------------------------------------------------------------- /src/io/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/io/log.c -------------------------------------------------------------------------------- /src/lib/libsupport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/lib/libsupport.c -------------------------------------------------------------------------------- /src/lib/ljsupport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/lib/ljsupport.c -------------------------------------------------------------------------------- /src/lib/math.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/lib/math.c -------------------------------------------------------------------------------- /src/lib/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/lib/string.c -------------------------------------------------------------------------------- /src/lua/kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/lua/kernel.c -------------------------------------------------------------------------------- /src/memory/kalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/memory/kalloc.c -------------------------------------------------------------------------------- /src/memory/magazines.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/memory/magazines.c -------------------------------------------------------------------------------- /src/processes/ipc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/processes/ipc.c -------------------------------------------------------------------------------- /src/processes/scheduler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/processes/scheduler.c -------------------------------------------------------------------------------- /src/start.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheLuaOSProject/Kernel/HEAD/src/start.c --------------------------------------------------------------------------------