| Crates.io | tg-kernel-alloc |
| lib.rs | tg-kernel-alloc |
| version | 0.1.0-preview.1 |
| created_at | 2026-01-22 05:24:26.65676+00 |
| updated_at | 2026-01-22 05:24:26.65676+00 |
| description | Kernel memory allocator for rCore tutorial OS using buddy allocation. |
| homepage | |
| repository | https://github.com/rcore-os/rCore-Tutorial-in-single-workspace |
| max_upload_size | |
| id | 2060812 |
| size | 6,929 |
内核内存分配器模块,为 rCore 教学操作系统提供基于 buddy 算法的 #[global_allocator] 实现。
#[global_allocator] 实现no_std 环境内核不必区分虚存分配和物理页分配的条件是虚地址空间覆盖物理地址空间,换句话说,内核能直接访问到所有物理内存而无需执行修改页表之类其他操作。
Licensed under either of Apache License, Version 2.0 or MIT license at your option.