Expand description
§Proka Kernel - A kernel for ProkaOS
Copyright (C) RainSTR Studio 2025, All rights reserved.
This provides the public functions, and they will help you to use the kernel functions easily.
Re-exports§
pub use memory::frame_allocator::format_bytes;pub use memory::frame_allocator::FrameStats;pub use memory::frame_allocator::LockedFrameAllocator;pub use memory::paging::get_hhdm_offset;pub use memory::paging::get_memory_stats;pub use memory::paging::init_frame_allocator;pub use memory::paging::init_offset_page_table;pub use memory::paging::print_memory_stats;pub use memory::protection::kernel_flags;pub use memory::protection::user_flags;pub use memory::protection::Protection;
Modules§
- config
- drivers
- fs
- graphics
- interrupts
- libs
- memory
- output
- panic
- Proka Kernel - A kernel for ProkaOS
- process
- test
- Proka Kernel - A kernel for ProkaOS
Macros§
- color
- console_
print - console_
println - extern_
safe - This will extern the C function and make it to safe.
- pixel
- 双重打印宏:同时输出到控制台和串口
- println
- 双重打印宏(带换行)
- serial_
print - Prints to the host through the serial interface.
- serial_
println - Prints to the host through the serial interface, appending a newline.
- success
Statics§
- BASE_
REVISION - The base revision of the kernel.
- FRAMEBUFFER_
REQUEST - The framebuffer request of the kernel.
- HHDM_
REQUEST - MEMORY_
MAP_ REQUEST - MODULE_
REQUEST