Skip to content

Additional utility methods. #17

Description

@Lokathor

Inspired by what they're doing over in rust-osdev/volatile#22, we probably want the following:

  • Address "map": reads the address into memory, runs a closure that gets &mut T, then writes back the new T value.
  • Block "copy from slice": copies data from a slice into the block.
  • Block "fill": write a value to all elements in a block.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions