Skip to content

Rewriting this with volatile crate? #165

Open
@paulsohn

Description

@paulsohn

Although I'm adding features of accessor crate now,
I noticed that my concept is similar to that of existing volatile crate.

e.g. introducing new bound accessor types over unbounded accessors are somewhat tiresome,
so we make a generic lifetime parameter on accessor types (and set default lifetime to 'static) etc..

The thing that lacks in volatile ptr is that there are no mappers, however.

(I should go to work shortly so I will add details more tomorrow)

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

        Participants

        @paulsohn

        Issue actions

          Rewriting this with `volatile` crate? · Issue #165 · rust-osdev/xhci