Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an VirtAddress/PhysAddress type instead of usize #2

Open
jounathaen opened this issue Oct 29, 2024 · 0 comments
Open

Use an VirtAddress/PhysAddress type instead of usize #2

jounathaen opened this issue Oct 29, 2024 · 0 comments

Comments

@jounathaen
Copy link

As the types in this crate can be used for managing (allocating and deallocating) physical and virtual memory, it might be reasonable to use specific types for this, especially for PageRange. I have made an attempt to provide such types in https://github.com/hermit-os/memory-addresses, maybe they are useful here or can be improved to be used in this crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant