#x86-64 #arm64 #no-std

no-std memory_addresses

Unified virtual and physical address types for the Hermit ecosystem and beyond

5 releases

0.2.2 Nov 15, 2024
0.2.1 Nov 15, 2024
0.2.0 Oct 31, 2024
0.1.1 Oct 29, 2024
0.1.0 Oct 29, 2024

#125 in Operating systems

Download history 553/week @ 2024-12-25 1774/week @ 2025-01-01 696/week @ 2025-01-08 484/week @ 2025-01-15 218/week @ 2025-01-22 522/week @ 2025-01-29 737/week @ 2025-02-05 392/week @ 2025-02-12 979/week @ 2025-02-19 279/week @ 2025-02-26 271/week @ 2025-03-05 286/week @ 2025-03-12 688/week @ 2025-03-19 542/week @ 2025-03-26 759/week @ 2025-04-02 173/week @ 2025-04-09

2,213 downloads per month
Used in 4 crates

MIT/Apache

59KB
1.5K SLoC

Memory Addresses

This crate provides unified address types for the Hermit ecosystem and beyond.

Features

Name Description
x86_64 Enables x86_64 specific addresses (default)
aarch64 Enables aarch64 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

Dependencies

~0.5–1.2MB
~14K SLoC