Copyright (C) 2025 RainSTR Studio. All rights reserved.
Welcome to Proka Kernel, an operating system kernel developed by young talents at RainSTR Studio. Primarily for learning and practice, our goal is to evolve it into a stable and reliable system.
- Hybrid Language Design: Leverages Rust's memory safety and C's low-level control.
- Modular Architecture: Designed for clarity and extensibility.
- Modern Development: Uses advanced tools and practices for quality code.
- Community-Driven: Actively maintained by passionate developers.
Proka Kernel is primarily written in C and Rust.
- Rust: Forms the kernel's core, offering memory safety to enhance stability and security by preventing common errors. Most high-level logic and new features are in Rust.
- C Language: Utilized for direct hardware access, low-level operations (e.g., boot code, assembly interfaces), and integrating existing drivers.
To build and run Proka Kernel, install these components:
- Rust Toolchain:
nightlychannel withx86_64-unknown-nonetarget (Rust>= 1.77.0). - GCC: C language compiler.
- Make: Build automation tool.
- QEMU: For kernel emulation.
- xorriso: To create bootable ISO images.
- cpio: To create initrd (initial RAM disk) images.
Note: GCC might be pre-installed on your OS.
We recommend rustup for Rust management.
# Install Rust (via rustup)
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# source $HOME/.cargo/env
# rustup default nightly
# rustup target add x86_64-unknown-none
# Install core build tools
sudo apt-get update
sudo apt-get install -y gcc make
# Install runtime and image creation tools
sudo apt-get install -y xorriso cpio qemu-system-x86From the project root:
-
Compile Kernel:
make
Kernel file at
kernel/kernel. -
Build ISO Image:
make iso
ISO file
proka-kernel.isoin project root. -
Run in QEMU:
make run
QEMU will launch, displaying kernel output in the terminal.
Thank you to all contributors!
- zhangxuan2011 [email protected]
- moyan [email protected]
- xiaokuai [email protected]
- TMX [email protected]
We welcome contributions: Bug reports, Pull Requests (features, fixes, optimizations), documentation improvements, and feedback.
Refer to CONTRIBUTING.md for guidelines.
Proka Kernel is distributed under the MIT License.
See LICENSE file for details.