Skip to content

Rework GAS accesses to fixed register blocks - #373

Open
IsaacWoods wants to merge 3 commits into
rust-osdev:mainfrom
IsaacWoods:main
Open

IsaacWoods wants to merge 3 commits into
rust-osdev:mainfrom
IsaacWoods:main

Conversation

@IsaacWoods

Copy link
Copy Markdown
Member

This removes the read_u16 and write_u16 methods on GenericAddress, and fixes accesses to the PM1 register blocks by splitting them into their component STS and EN registers.

This does throw in a few unrelated changes that I have had locally on my main branch from poor gitting I'm afraid - I have not rebased these off as I don't think they reduce reviewability and I'd like them to go in at some point.

cc @martin-hughes - we've discussed complexities around handling these accesses. I'd be interested in your thoughts on this solution.

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.

1 participant