Feedback wanted on my 37k LOC bare metal Rust kernel for x86_64 and i686 with GDT, IDT and 62 syscalls

Keira Kernel

Keira is a 100 percent Rust Ring 0 bare metal kernel for x86_64 and i686.

Core function:
Manages hardware, memory and execution. The kernel main entry at crates/kernel/src/entry/mod.rs is called from start at arch/x86/entry64.asm via Multiboot2, then initializes GDT, TSS, IDT, PMM, VMM, scheduler and shell.

Features:
Memory with PMM, VMM, heap, DMA and swap. Task with preemptive scheduler, cgroups and signals. 62 syscall vectors. Drivers for VGA, VBE, UART, PCI, PCIe, AHCI, NVMe, USB and e1000. Filesystem with VFS, FAT, EXT4, initrd, LVM and RAID. Network with TCP/IP, TLS 1.3 and firewall. Shell with 75 builtins and kvi editor.

Build:
make all produces keira.bin and initrd.tar as a GRUB ISO.

Source:

Documentation:
docs/README.md

You posted this a month ago and got no replies. What has changed since then? Note that very few people are inclined to review vibe-coded software.

Thanks for pointing it out. You are right, my previous post was too broad as a showcase and I did not make it reviewable.

What has changed since then: the tree is now 37.7k LOC with a reproducible dual arch build with make test all for x86_64 and i686, 13 doc domains, and the core subsystems are documented with Safety contracts for every unsafe block. I also narrowed the scope.

I understand the concern about vibe coded software. Keira is not generated in one shot. Every crate in crates/ and arch/ was written and debugged manually on a 4GB X240, with manual GDT, IDT, PMM and scheduler bring up. AI was used as an assistant, but all unsafe and boot code was reviewed manually.

For this review I would like to focus on one area only, for example crates/arch/src/cpu/gdt.rs or crates/mem/src/pmm. I will post a 30 line snippet with a specific Safety question so it is easy to review. Let me know which area would be most useful to start with.

And about the duplicate post and account, sorry for the confusion. I forgot to delete the old account and reposted the same showcase. I will keep only this account and will not repost broadly. For the next post I will use a single focused code review thread.