ax-memory-addr 0.6.2

Wrappers and helper functions for physical and virtual addresses
Documentation
  • Coverage
  • 100%
    55 out of 55 items documented9 out of 19 items with examples
  • Size
  • Source code size: 53.32 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.81 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 34s Average build duration of successful builds.
  • all releases: 40s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rcore-os/tgoskits
    13 39 17
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • github:rcore-os:crates-io ZCShou

Crates.io Docs.rs Rust License

English | 中文

Introduction

ax-memory-addr provides Wrappers and helper functions for physical and virtual addresses. It is maintained as part of the TGOSKits component set and is intended for Rust projects that integrate with ArceOS, AxVisor, or related low-level systems software.

ax-memory-addr was derived from https://github.com/arceos-org/axmm_crates

Quick Start

Installation

Add this crate to your Cargo.toml:

[dependencies]
ax-memory-addr = "0.6.1"

Run Check and Test

# Enter the crate directory
cd components/axmm_crates/memory_addr

# Format code
cargo fmt --all

# Run clippy
cargo clippy --all-targets --all-features

# Run tests
cargo test --all-features

# Build documentation
cargo doc --no-deps

Integration

Example

use ax_memory_addr as _;

fn main() {
    // Integrate `ax-memory-addr` into your project here.
}

Documentation

Generate and view API documentation:

cargo doc --no-deps --open

Online documentation: docs.rs/ax-memory-addr

Contributing

  1. Fork the repository and create a branch
  2. Run local format and checks
  3. Run local tests relevant to this crate
  4. Submit a PR and ensure CI passes

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.