├── .github └── workflows │ ├── ci.yml │ └── quick-test.yml ├── .gitignore ├── README.md ├── ROADMAP.md ├── os-1000-lines-docs └── d3221559-8f98-4663-9b00-b1ca0e8ab89c │ ├── operating-system-in-1000-lines.vercel.app_en_.md │ ├── operating-system-in-1000-lines.vercel.app_en_01-setting-up-development-environment.md │ ├── operating-system-in-1000-lines.vercel.app_en_02-assembly.md │ ├── operating-system-in-1000-lines.vercel.app_en_03-overview.md │ ├── operating-system-in-1000-lines.vercel.app_en_04-boot.md │ ├── operating-system-in-1000-lines.vercel.app_en_05-hello-world.md │ ├── operating-system-in-1000-lines.vercel.app_en_06-libc.md │ ├── operating-system-in-1000-lines.vercel.app_en_07-kernel-panic.md │ ├── operating-system-in-1000-lines.vercel.app_en_08-exception.md │ └── operating-system-in-1000-lines.vercel.app_en_09-memory-allocation.md └── src ├── arch └── riscv32.zig ├── common.zig ├── debug └── panic.zig ├── hal └── console.zig ├── kernel.ld ├── kernel.zig ├── mm ├── allocator.zig └── paging.zig ├── platform └── sbi.zig ├── proc ├── process.zig └── scheduler.zig ├── user.ld └── user.zig /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/quick-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/.github/workflows/quick-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/README.md -------------------------------------------------------------------------------- /ROADMAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/ROADMAP.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_01-setting-up-development-environment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_01-setting-up-development-environment.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_02-assembly.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_02-assembly.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_03-overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_03-overview.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_04-boot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_04-boot.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_05-hello-world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_05-hello-world.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_06-libc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_06-libc.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_07-kernel-panic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_07-kernel-panic.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_08-exception.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_08-exception.md -------------------------------------------------------------------------------- /os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_09-memory-allocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/os-1000-lines-docs/d3221559-8f98-4663-9b00-b1ca0e8ab89c/operating-system-in-1000-lines.vercel.app_en_09-memory-allocation.md -------------------------------------------------------------------------------- /src/arch/riscv32.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/arch/riscv32.zig -------------------------------------------------------------------------------- /src/common.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/common.zig -------------------------------------------------------------------------------- /src/debug/panic.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/debug/panic.zig -------------------------------------------------------------------------------- /src/hal/console.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/hal/console.zig -------------------------------------------------------------------------------- /src/kernel.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/kernel.ld -------------------------------------------------------------------------------- /src/kernel.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/kernel.zig -------------------------------------------------------------------------------- /src/mm/allocator.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/mm/allocator.zig -------------------------------------------------------------------------------- /src/mm/paging.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/mm/paging.zig -------------------------------------------------------------------------------- /src/platform/sbi.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/platform/sbi.zig -------------------------------------------------------------------------------- /src/proc/process.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/proc/process.zig -------------------------------------------------------------------------------- /src/proc/scheduler.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/proc/scheduler.zig -------------------------------------------------------------------------------- /src/user.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/user.ld -------------------------------------------------------------------------------- /src/user.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botirk38/OS-1000-lines-zig/HEAD/src/user.zig --------------------------------------------------------------------------------