memory_addresses

Crates.iomemory_addresses
lib.rsmemory_addresses
version0.2.4
created_at2024-10-29 09:54:57.010599+00
updated_at2026-01-23 11:22:34.876104+00
descriptionUnified virtual and physical address types for the Hermit ecosystem and beyond
homepage
repositoryhttps://github.com/hermit-os/memory-addresses
max_upload_size
id1426848
size88,415
Jonathan (jounathaen)

documentation

https://docs.rs/memory_addresses

README

Memory Addresses

This crate provides unified address types for multiple architectures. This is part of the Hermit ecosystem but is designed to be used in any other bare-metal context as well!

Features

Name Description
x86_64 Enables x86_64 specific addresses (default)
aarch64 Enables aarch64 specific addresses (default)
riscv64 Enables riscv64 specific addresses (default)
conversions Enables all of the following conversion functionalities
conv-x86_64 Convert x86_64::PhysAddr/x86_64::VirtAddr to x86_64::PhysAddr/x86_64::VirtAddr using into()
conv-x86 Convert x86_64::PhysAddr/x86_64::VirtAddr to x86's 64-bit PAddr/VAddr using into()

Acknowledgement

This crate is based on work of the x86_64 crate. An attempt was made to preserve the relevant commits with authorship and the apparently most active contributors of the original work are:

  • Philipp Oppermann
  • Gerd Zellweger
  • Tom Dohrmann
  • John Ericson
  • Joe Richey
  • Mara Bos
  • Tobba
  • Joseph Richey
  • Dan Schatzberg
Commit count: 412

cargo fmt