# Details

Date : 2026-04-11 19:00:52

Directory d:\\Projects\\C\\cleonos

Total : 97 files,  7635 codes, 8 comments, 1894 blanks, all 9537 lines

[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [CMakeLists.txt](/CMakeLists.txt) | CMake | 535 | 0 | 75 | 610 |
| [Makefile](/Makefile) | Makefile | 100 | 0 | 22 | 122 |
| [cleonos/c/apps/elfrunner\_kmain.c](/cleonos/c/apps/elfrunner_kmain.c) | C | 6 | 0 | 3 | 9 |
| [cleonos/c/apps/elfrunner\_main.c](/cleonos/c/apps/elfrunner_main.c) | C | 6 | 0 | 3 | 9 |
| [cleonos/c/apps/memc\_kmain.c](/cleonos/c/apps/memc_kmain.c) | C | 6 | 0 | 3 | 9 |
| [cleonos/c/apps/memc\_main.c](/cleonos/c/apps/memc_main.c) | C | 8 | 0 | 3 | 11 |
| [cleonos/c/apps/shell\_main.c](/cleonos/c/apps/shell_main.c) | C | 396 | 0 | 124 | 520 |
| [cleonos/c/apps/ttydrv\_main.c](/cleonos/c/apps/ttydrv_main.c) | C | 6 | 0 | 3 | 9 |
| [cleonos/c/include/cleonos\_rust\_bridge.h](/cleonos/c/include/cleonos_rust_bridge.h) | C++ | 6 | 0 | 4 | 10 |
| [cleonos/c/include/cleonos\_syscall.h](/cleonos/c/include/cleonos_syscall.h) | C++ | 60 | 0 | 5 | 65 |
| [cleonos/c/src/runtime.c](/cleonos/c/src/runtime.c) | C | 11 | 0 | 6 | 17 |
| [cleonos/c/src/syscall.c](/cleonos/c/src/syscall.c) | C | 89 | 0 | 29 | 118 |
| [cleonos/c/stub.c](/cleonos/c/stub.c) | C | 3 | 4 | 2 | 9 |
| [cleonos/rust/src/lib.rs](/cleonos/rust/src/lib.rs) | Rust | 23 | 0 | 9 | 32 |
| [clks/arch/aarch64/boot.c](/clks/arch/aarch64/boot.c) | C | 6 | 0 | 1 | 7 |
| [clks/arch/x86\_64/boot.c](/clks/arch/x86_64/boot.c) | C | 6 | 0 | 1 | 7 |
| [clks/arch/x86\_64/interrupt\_stubs.S](/clks/arch/x86_64/interrupt_stubs.S) | Go Assembly | 108 | 0 | 12 | 120 |
| [clks/drivers/serial/serial.c](/clks/drivers/serial/serial.c) | C | 52 | 0 | 16 | 68 |
| [clks/drivers/video/font8x8.c](/clks/drivers/video/font8x8.c) | C | 67 | 0 | 8 | 75 |
| [clks/drivers/video/font8x8.h](/clks/drivers/video/font8x8.h) | C++ | 5 | 0 | 3 | 8 |
| [clks/drivers/video/framebuffer.c](/clks/drivers/video/framebuffer.c) | C | 162 | 0 | 42 | 204 |
| [clks/drivers/video/psf\_font.c](/clks/drivers/video/psf_font.c) | C | 159 | 0 | 35 | 194 |
| [clks/drivers/video/psf\_font.h](/clks/drivers/video/psf_font.h) | C++ | 14 | 0 | 4 | 18 |
| [clks/include/clks/boot.h](/clks/include/clks/boot.h) | C++ | 11 | 0 | 4 | 15 |
| [clks/include/clks/compiler.h](/clks/include/clks/compiler.h) | C++ | 13 | 0 | 4 | 17 |
| [clks/include/clks/cpu.h](/clks/include/clks/cpu.h) | C++ | 20 | 0 | 4 | 24 |
| [clks/include/clks/driver.h](/clks/include/clks/driver.h) | C++ | 28 | 0 | 8 | 36 |
| [clks/include/clks/elf64.h](/clks/include/clks/elf64.h) | C++ | 27 | 0 | 8 | 35 |
| [clks/include/clks/elfrunner.h](/clks/include/clks/elfrunner.h) | C++ | 6 | 0 | 3 | 9 |
| [clks/include/clks/exec.h](/clks/include/clks/exec.h) | C++ | 8 | 0 | 3 | 11 |
| [clks/include/clks/framebuffer.h](/clks/include/clks/framebuffer.h) | C++ | 20 | 0 | 4 | 24 |
| [clks/include/clks/fs.h](/clks/include/clks/fs.h) | C++ | 23 | 0 | 7 | 30 |
| [clks/include/clks/heap.h](/clks/include/clks/heap.h) | C++ | 15 | 0 | 4 | 19 |
| [clks/include/clks/interrupts.h](/clks/include/clks/interrupts.h) | C++ | 6 | 0 | 3 | 9 |
| [clks/include/clks/kelf.h](/clks/include/clks/kelf.h) | C++ | 9 | 0 | 5 | 14 |
| [clks/include/clks/kernel.h](/clks/include/clks/kernel.h) | C++ | 4 | 0 | 2 | 6 |
| [clks/include/clks/keyboard.h](/clks/include/clks/keyboard.h) | C++ | 19 | 0 | 5 | 24 |
| [clks/include/clks/limine.h](/clks/include/clks/limine.h) | C++ | 132 | 0 | 24 | 156 |
| [clks/include/clks/log.h](/clks/include/clks/log.h) | C++ | 12 | 0 | 4 | 16 |
| [clks/include/clks/pmm.h](/clks/include/clks/pmm.h) | C++ | 16 | 0 | 5 | 21 |
| [clks/include/clks/ramdisk.h](/clks/include/clks/ramdisk.h) | C++ | 17 | 0 | 8 | 25 |
| [clks/include/clks/scheduler.h](/clks/include/clks/scheduler.h) | C++ | 18 | 0 | 5 | 23 |
| [clks/include/clks/serial.h](/clks/include/clks/serial.h) | C++ | 6 | 0 | 2 | 8 |
| [clks/include/clks/service.h](/clks/include/clks/service.h) | C++ | 31 | 0 | 8 | 39 |
| [clks/include/clks/shell.h](/clks/include/clks/shell.h) | C++ | 7 | 0 | 3 | 10 |
| [clks/include/clks/string.h](/clks/include/clks/string.h) | C++ | 9 | 0 | 3 | 12 |
| [clks/include/clks/syscall.h](/clks/include/clks/syscall.h) | C++ | 34 | 0 | 4 | 38 |
| [clks/include/clks/task.h](/clks/include/clks/task.h) | C++ | 24 | 0 | 7 | 31 |
| [clks/include/clks/tty.h](/clks/include/clks/tty.h) | C++ | 12 | 0 | 5 | 17 |
| [clks/include/clks/types.h](/clks/include/clks/types.h) | C++ | 17 | 0 | 6 | 23 |
| [clks/include/clks/userland.h](/clks/include/clks/userland.h) | C++ | 11 | 0 | 4 | 15 |
| [clks/kernel/driver.c](/clks/kernel/driver.c) | C | 163 | 0 | 48 | 211 |
| [clks/kernel/elf64.c](/clks/kernel/elf64.c) | C | 170 | 0 | 52 | 222 |
| [clks/kernel/elfrunner.c](/clks/kernel/elfrunner.c) | C | 30 | 0 | 8 | 38 |
| [clks/kernel/exec.c](/clks/kernel/exec.c) | C | 51 | 0 | 15 | 66 |
| [clks/kernel/fs.c](/clks/kernel/fs.c) | C | 698 | 0 | 220 | 918 |
| [clks/kernel/heap.c](/clks/kernel/heap.c) | C | 134 | 0 | 42 | 176 |
| [clks/kernel/interrupts.c](/clks/kernel/interrupts.c) | C | 298 | 0 | 43 | 341 |
| [clks/kernel/kelf.c](/clks/kernel/kelf.c) | C | 203 | 1 | 53 | 257 |
| [clks/kernel/keyboard.c](/clks/kernel/keyboard.c) | C | 199 | 0 | 42 | 241 |
| [clks/kernel/kmain.c](/clks/kernel/kmain.c) | C | 180 | 1 | 50 | 231 |
| [clks/kernel/limine\_requests.c](/clks/kernel/limine_requests.c) | C | 76 | 0 | 26 | 102 |
| [clks/kernel/log.c](/clks/kernel/log.c) | C | 79 | 0 | 17 | 96 |
| [clks/kernel/pmm.c](/clks/kernel/pmm.c) | C | 82 | 0 | 23 | 105 |
| [clks/kernel/ramdisk.c](/clks/kernel/ramdisk.c) | C | 172 | 0 | 50 | 222 |
| [clks/kernel/scheduler.c](/clks/kernel/scheduler.c) | C | 127 | 0 | 42 | 169 |
| [clks/kernel/service.c](/clks/kernel/service.c) | C | 113 | 0 | 34 | 147 |
| [clks/kernel/shell.c](/clks/kernel/shell.c) | C | 860 | 0 | 230 | 1,090 |
| [clks/kernel/syscall.c](/clks/kernel/syscall.c) | C | 243 | 0 | 50 | 293 |
| [clks/kernel/tty.c](/clks/kernel/tty.c) | C | 275 | 0 | 77 | 352 |
| [clks/kernel/userland.c](/clks/kernel/userland.c) | C | 113 | 0 | 32 | 145 |
| [clks/lib/string.c](/clks/lib/string.c) | C | 54 | 0 | 16 | 70 |
| [cmake/check\_tools.cmake](/cmake/check_tools.cmake) | CMake | 32 | 0 | 6 | 38 |
| [cmake/log.cmake](/cmake/log.cmake) | CMake | 30 | 0 | 6 | 36 |
| [cmake/log\_emit.cmake](/cmake/log_emit.cmake) | CMake | 23 | 0 | 6 | 29 |
| [cmake/setup\_limine.cmake](/cmake/setup_limine.cmake) | CMake | 100 | 0 | 18 | 118 |
| [configs/limine.conf](/configs/limine.conf) | Properties | 6 | 0 | 1 | 7 |
| [docs/README.md](/docs/README.md) | Markdown | 22 | 0 | 2 | 24 |
| [docs/stage1.md](/docs/stage1.md) | Markdown | 41 | 0 | 5 | 46 |
| [docs/stage10.md](/docs/stage10.md) | Markdown | 34 | 0 | 6 | 40 |
| [docs/stage11.md](/docs/stage11.md) | Markdown | 36 | 0 | 5 | 41 |
| [docs/stage12.md](/docs/stage12.md) | Markdown | 40 | 0 | 6 | 46 |
| [docs/stage13.md](/docs/stage13.md) | Markdown | 34 | 0 | 6 | 40 |
| [docs/stage14.md](/docs/stage14.md) | Markdown | 44 | 0 | 8 | 52 |
| [docs/stage15.md](/docs/stage15.md) | Markdown | 47 | 0 | 7 | 54 |
| [docs/stage2.md](/docs/stage2.md) | Markdown | 30 | 0 | 5 | 35 |
| [docs/stage20.md](/docs/stage20.md) | Markdown | 46 | 0 | 6 | 52 |
| [docs/stage21.md](/docs/stage21.md) | Markdown | 72 | 0 | 7 | 79 |
| [docs/stage3.md](/docs/stage3.md) | Markdown | 29 | 0 | 5 | 34 |
| [docs/stage4.md](/docs/stage4.md) | Markdown | 30 | 0 | 5 | 35 |
| [docs/stage5.md](/docs/stage5.md) | Markdown | 29 | 0 | 5 | 34 |
| [docs/stage6.md](/docs/stage6.md) | Markdown | 30 | 0 | 6 | 36 |
| [docs/stage7.md](/docs/stage7.md) | Markdown | 34 | 0 | 6 | 40 |
| [docs/stage8.md](/docs/stage8.md) | Markdown | 31 | 0 | 6 | 37 |
| [docs/stage9.md](/docs/stage9.md) | Markdown | 31 | 0 | 6 | 37 |
| [ramdisk/shell/init.cmd](/ramdisk/shell/init.cmd) | Batch | 11 | 0 | 2 | 13 |
| [scripts/gen-tty-psf.ps1](/scripts/gen-tty-psf.ps1) | PowerShell | 64 | 2 | 18 | 84 |

[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)