Docs.rs
sparreal-kernel-0.1.6
sparreal-kernel 0.1.6
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
ZR233
Dependencies
ansi_rgb ^0.2
normal
buddy_system_allocator ^0.11
normal
driver-interface ^0.0.1
normal
embedded-hal-async ^1.0
normal
fdt-parser ^0.4
normal
lock_api ^0.4
normal
log ^0.4
normal
memory_addr ^0.3
normal
page-table-generic ^0.2
normal
pasts ^0.14
normal
rgb ^0.8.47
normal
sparreal-macros ^0.0.5
normal
spin_on ^0.1
normal
Versions
12.22%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
sparreal_
kernel
0.1.6
init_
log_
and_
memory
Sections
Safety
In sparreal_
kernel::
kernel
sparreal_kernel
::
kernel
Function
init_log_and_memory
Copy item path
Source
pub unsafe fn init_log_and_memory(kconfig: &
KernelConfig
)
Expand description
初始化日志和内存
§
Safety
BSS 应当清零。
若有MMU,应当已开启,且虚拟地址与代码段映射一致。