Skip to content

Conversation

@undecidedapollo
Copy link
Contributor

  • Addresses Inconsistent behavior writing OAM with different optimization levels #213 by making OBJ_ATTR_ALL read-only.
  • Implements a write_volatile write function on ObjAttr for explicitely writing the three halfwords to OAM.
  • Provides an extension trait + implementation for VolAddress<ObjAttr, Safe, ()> allowing for a similar API to what existed before from VolAddress<ObjAttr, Safe, Safe>

This is a breaking change.

@Lokathor
Copy link
Member

the build failure looks like you're missing some imports.

@undecidedapollo
Copy link
Contributor Author

the build failure looks like you're missing some imports.

Added the missing imports and learned something new with cargo +nightly check --no-default-features

ObjAttr write function.
Extension trait for VolAddress<ObjAttr>.
@Lokathor Lokathor merged commit 04253ad into rust-console:main Oct 22, 2025
1 check passed
@undecidedapollo undecidedapollo deleted the fix/objattrall-mmio branch October 29, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants