Docs.rs
tg-rcore-tutorial-kernel-alloc-0.4.2-preview.8
tg-rcore-tutorial-kernel-alloc 0.4.2-preview.8
Docs.rs crate page
GPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
chyyuu
Dependencies
customizable-buddy ^0.0.3
normal
log ^0.4
normal
page-table ^0.0.6
normal
Versions
100%
of the crate is documented
Go to latest stable release
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate tg_rcore_tutorial_kernel_alloc
tg_
rcore_
tutorial_
kernel_
alloc
0.4.2-preview.8
All Items
Crate Items
Functions
Crate
tg_
rcore_
tutorial_
kernel_
alloc
Copy item path
Source
Expand description
内存分配。
教程阅读建议:
先看
init
与
transfer
:理解“先初始化,再把可用内存交给分配器”;
再看
HEAP
/
GlobalAlloc
:理解 Rust
alloc
如何落到内核堆实现。
Functions
§
init
初始化内存分配。
transfer
⚠
将一个内存块托管到内存分配器。