# Diff Details

Date : 2026-04-14 20:12:49

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

Total : 98 files,  6203 codes, 2 comments, 1653 blanks, all 7858 lines

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

## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [CMakeLists.txt](/CMakeLists.txt) | CMake | 44 | 0 | 9 | 53 |
| [cleonos/c/apps/ansi\_main.c](/cleonos/c/apps/ansi_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/append\_main.c](/cleonos/c/apps/append_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/cat\_main.c](/cleonos/c/apps/cat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/cd\_main.c](/cleonos/c/apps/cd_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/clear\_main.c](/cleonos/c/apps/clear_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/cp\_main.c](/cleonos/c/apps/cp_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/dmesg\_main.c](/cleonos/c/apps/dmesg_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/exec\_main.c](/cleonos/c/apps/exec_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/exit\_main.c](/cleonos/c/apps/exit_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/fsstat\_main.c](/cleonos/c/apps/fsstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/hello\_main.c](/cleonos/c/apps/hello_main.c) | C | 6 | 0 | 2 | 8 |
| [cleonos/c/apps/help\_main.c](/cleonos/c/apps/help_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/kbdstat\_main.c](/cleonos/c/apps/kbdstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/ls\_main.c](/cleonos/c/apps/ls_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/memstat\_main.c](/cleonos/c/apps/memstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/mkdir\_main.c](/cleonos/c/apps/mkdir_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/mv\_main.c](/cleonos/c/apps/mv_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/pid\_main.c](/cleonos/c/apps/pid_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/pwd\_main.c](/cleonos/c/apps/pwd_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/restart\_main.c](/cleonos/c/apps/restart_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/rm\_main.c](/cleonos/c/apps/rm_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/shell/shell\_cmd.c](/cleonos/c/apps/shell/shell_cmd.c) | C | 776 | 0 | 182 | 958 |
| [cleonos/c/apps/shell/shell\_external.c](/cleonos/c/apps/shell/shell_external.c) | C | 223 | 0 | 75 | 298 |
| [cleonos/c/apps/shell/shell\_input.c](/cleonos/c/apps/shell/shell_input.c) | C | 255 | 0 | 68 | 323 |
| [cleonos/c/apps/shell/shell\_internal.h](/cleonos/c/apps/shell/shell_internal.h) | C++ | 84 | 0 | 19 | 103 |
| [cleonos/c/apps/shell/shell\_path.c](/cleonos/c/apps/shell/shell_path.c) | C | 153 | 0 | 50 | 203 |
| [cleonos/c/apps/shell/shell\_script.c](/cleonos/c/apps/shell/shell_script.c) | C | 35 | 0 | 12 | 47 |
| [cleonos/c/apps/shell/shell\_util.c](/cleonos/c/apps/shell/shell_util.c) | C | 211 | 0 | 66 | 277 |
| [cleonos/c/apps/shell\_main.c](/cleonos/c/apps/shell_main.c) | C | -377 | 0 | -118 | -495 |
| [cleonos/c/apps/shstat\_main.c](/cleonos/c/apps/shstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/shutdown\_main.c](/cleonos/c/apps/shutdown_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/sleep\_main.c](/cleonos/c/apps/sleep_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/spawn\_main.c](/cleonos/c/apps/spawn_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/stats\_main.c](/cleonos/c/apps/stats_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/taskstat\_main.c](/cleonos/c/apps/taskstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/touch\_main.c](/cleonos/c/apps/touch_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/tty\_main.c](/cleonos/c/apps/tty_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/userstat\_main.c](/cleonos/c/apps/userstat_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/wait\_main.c](/cleonos/c/apps/wait_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/write\_main.c](/cleonos/c/apps/write_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/apps/yield\_main.c](/cleonos/c/apps/yield_main.c) | C | 4 | 0 | 3 | 7 |
| [cleonos/c/include/cleonos\_syscall.h](/cleonos/c/include/cleonos_syscall.h) | C++ | 42 | 0 | 1 | 43 |
| [cleonos/c/src/runtime.c](/cleonos/c/src/runtime.c) | C | -3 | 0 | -1 | -4 |
| [cleonos/c/src/syscall.c](/cleonos/c/src/syscall.c) | C | 63 | 0 | 21 | 84 |
| [clks/arch/x86\_64/exec\_stack\_call.S](/clks/arch/x86_64/exec_stack_call.S) | Go Assembly | 14 | 0 | 6 | 20 |
| [clks/drivers/video/framebuffer.c](/clks/drivers/video/framebuffer.c) | C | 68 | 0 | 22 | 90 |
| [clks/drivers/video/psf\_font.c](/clks/drivers/video/psf_font.c) | C | 71 | 0 | 21 | 92 |
| [clks/drivers/video/psf\_font.h](/clks/drivers/video/psf_font.h) | C++ | 1 | 0 | 1 | 2 |
| [clks/include/clks/desktop.h](/clks/include/clks/desktop.h) | C++ | 7 | 0 | 4 | 11 |
| [clks/include/clks/elf64.h](/clks/include/clks/elf64.h) | C++ | 5 | 0 | 1 | 6 |
| [clks/include/clks/exec.h](/clks/include/clks/exec.h) | C++ | 10 | 0 | 1 | 11 |
| [clks/include/clks/framebuffer.h](/clks/include/clks/framebuffer.h) | C++ | 3 | 0 | 1 | 4 |
| [clks/include/clks/keyboard.h](/clks/include/clks/keyboard.h) | C++ | 1 | 0 | 0 | 1 |
| [clks/include/clks/log.h](/clks/include/clks/log.h) | C++ | 2 | 0 | 1 | 3 |
| [clks/include/clks/mouse.h](/clks/include/clks/mouse.h) | C++ | 20 | 0 | 6 | 26 |
| [clks/include/clks/panic.h](/clks/include/clks/panic.h) | C++ | 7 | 0 | 3 | 10 |
| [clks/include/clks/syscall.h](/clks/include/clks/syscall.h) | C++ | 21 | 0 | 0 | 21 |
| [clks/include/clks/tty.h](/clks/include/clks/tty.h) | C++ | 2 | 0 | -1 | 1 |
| [clks/include/clks/userland.h](/clks/include/clks/userland.h) | C++ | 1 | 0 | 0 | 1 |
| [clks/kernel/desktop.c](/clks/kernel/desktop.c) | C | 321 | 0 | 86 | 407 |
| [clks/kernel/elf64.c](/clks/kernel/elf64.c) | C | 69 | 0 | 21 | 90 |
| [clks/kernel/exec.c](/clks/kernel/exec.c) | C | 504 | 0 | 151 | 655 |
| [clks/kernel/interrupts.c](/clks/kernel/interrupts.c) | C | 4 | 0 | 0 | 4 |
| [clks/kernel/keyboard.c](/clks/kernel/keyboard.c) | C | 60 | 0 | 22 | 82 |
| [clks/kernel/kmain.c](/clks/kernel/kmain.c) | C | 18 | 0 | 2 | 20 |
| [clks/kernel/log.c](/clks/kernel/log.c) | C | 44 | 0 | 16 | 60 |
| [clks/kernel/mouse.c](/clks/kernel/mouse.c) | C | 246 | 0 | 63 | 309 |
| [clks/kernel/panic.c](/clks/kernel/panic.c) | C | 179 | 0 | 60 | 239 |
| [clks/kernel/scheduler.c](/clks/kernel/scheduler.c) | C | 9 | 0 | 2 | 11 |
| [clks/kernel/shell.c](/clks/kernel/shell.c) | C | 389 | 0 | 87 | 476 |
| [clks/kernel/syscall.c](/clks/kernel/syscall.c) | C | 249 | 0 | 60 | 309 |
| [clks/kernel/tty.c](/clks/kernel/tty.c) | C | 354 | 0 | 90 | 444 |
| [clks/kernel/userland.c](/clks/kernel/userland.c) | C | 11 | 0 | 3 | 14 |
| [clks/lib/libc\_compat.c](/clks/lib/libc_compat.c) | C | 25 | 0 | 7 | 32 |
| [clks/rust/src/lib.rs](/clks/rust/src/lib.rs) | Rust | 21 | 0 | 6 | 27 |
| [docs/README.md](/docs/README.md) | Markdown | 9 | 0 | 2 | 11 |
| [docs/stage22.md](/docs/stage22.md) | Markdown | 68 | 0 | 7 | 75 |
| [docs/stage23.md](/docs/stage23.md) | Markdown | 41 | 0 | 6 | 47 |
| [docs/stage24.md](/docs/stage24.md) | Markdown | 42 | 0 | 7 | 49 |
| [docs/stage25.md](/docs/stage25.md) | Markdown | 58 | 0 | 7 | 65 |
| [docs/stage26.md](/docs/stage26.md) | Markdown | 32 | 0 | 7 | 39 |
| [docs/stage27.md](/docs/stage27.md) | Markdown | 28 | 0 | 7 | 35 |
| [docs/stage28.md](/docs/stage28.md) | Markdown | 37 | 0 | 7 | 44 |
| [docs/stage29.md](/docs/stage29.md) | Markdown | 33 | 0 | 7 | 40 |
| [docs/syscall.md](/docs/syscall.md) | Markdown | 251 | 0 | 124 | 375 |
| [ramdisk/shell/init.cmd](/ramdisk/shell/init.cmd) | Batch | -7 | 0 | 0 | -7 |
| [scripts/gen-tty-psf.ps1](/scripts/gen-tty-psf.ps1) | PowerShell | 107 | 0 | 24 | 131 |
| [wine/README.md](/wine/README.md) | Markdown | 37 | 0 | 14 | 51 |
| [wine/cleonos\_wine.py](/wine/cleonos_wine.py) | Python | 3 | 1 | 3 | 7 |
| [wine/cleonos\_wine\_lib/\_\_init\_\_.py](/wine/cleonos_wine_lib/__init__.py) | Python | 4 | 0 | 1 | 5 |
| [wine/cleonos\_wine\_lib/cli.py](/wine/cleonos_wine_lib/cli.py) | Python | 44 | 0 | 10 | 54 |
| [wine/cleonos\_wine\_lib/constants.py](/wine/cleonos_wine_lib/constants.py) | Python | 63 | 1 | 10 | 74 |
| [wine/cleonos\_wine\_lib/input\_pump.py](/wine/cleonos_wine_lib/input_pump.py) | Python | 82 | 0 | 17 | 99 |
| [wine/cleonos\_wine\_lib/platform.py](/wine/cleonos_wine_lib/platform.py) | Python | 37 | 0 | 4 | 41 |
| [wine/cleonos\_wine\_lib/runner.py](/wine/cleonos_wine_lib/runner.py) | Python | 753 | 0 | 137 | 890 |
| [wine/cleonos\_wine\_lib/state.py](/wine/cleonos_wine_lib/state.py) | Python | 104 | 0 | 27 | 131 |
| [wine/requirements.txt](/wine/requirements.txt) | pip requirements | 1 | 0 | 1 | 2 |

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