Skip to main content

Crate proka_kernel

Crate proka_kernel 

Source
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
print
双重打印宏:同时输出到控制台和串口
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