Skip to content

sparse_mmap: support safe volatile access methods (#1499) #1670

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

Open
wants to merge 1 commit into
base: release/2505
Choose a base branch
from

Conversation

benhillis
Copy link
Member

Add methods on SparseMapping that call try_read_volatile and try_write_volatile. This makes it easy and safe to access a mapping with volatile semantics, needed to access device registers, for example.

Cherry-pick of #1499

Add methods on `SparseMapping` that call `try_read_volatile` and
`try_write_volatile`. This makes it easy and safe to access a mapping
with volatile semantics, needed to access device registers, for example.
@benhillis benhillis requested a review from a team as a code owner July 9, 2025 15:04
@github-actions github-actions bot added the release_2505 Targets the release/2505 branch. label Jul 9, 2025
@smalis-msft
Copy link
Contributor

I'm not sure this is needed if nothing in 2505 is using these new methods yet.

@benhillis
Copy link
Member Author

@smalis-msft I think we are going to hold off on this one and #1671 until @jstarks finishes some more changes that we will be pulling back to release/2505.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_2505 Targets the release/2505 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants