Docs.rs
memory_addr-0.3.1
memory_addr 0.3.1
Docs.rs crate page
GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0
Links
Homepage
Repository
crates.io
Source
Owners
equation314
github:arceos-org:core
Dependencies
Versions
100%
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
memory_
addr
0.3.1
Function
memory_addr
::
align_up_4k
Copy item path
source
ยท
[
−
]
pub const fn align_up_4k(addr:
usize
) ->
usize
Expand description
Align address upwards to 4096 (bytes).