Skip to content

Nicer MAIR syntax#137

Merged
jonathanpallant merged 3 commits intomainfrom
nicer-mair-syntax
Mar 5, 2026
Merged

Nicer MAIR syntax#137
jonathanpallant merged 3 commits intomainfrom
nicer-mair-syntax

Conversation

@jonathanpallant
Copy link
Contributor

  • Switch MAIR0 and MAIR1 to use same type (MAIR)
  • Switch MAIR to use an array
  • Revise a bunch of unrelated module comments so the cargo doc output looks nice

- They now use the same type
- That type contains an array for the four 8-bit fields within it
- This allows us to remove a bunch of bit shift boiler plate from the PMSAv8 module
All the aarch32_cpu::register modules have consistent headers now.
@jonathanpallant
Copy link
Contributor Author

rebased

@jonathanpallant jonathanpallant added this pull request to the merge queue Mar 5, 2026
Merged via the queue into main with commit 56d141d Mar 5, 2026
50 checks passed
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

Successfully merging this pull request may close these issues.

2 participants