Skip to content

Breaking: Improve pm1 enable registers control - #326

Open
ChocolateLoverRaj wants to merge 2 commits into
rust-osdev:mainfrom
ChocolateLoverRaj:pm1_events_breaking
Open

Breaking: Improve pm1 enable registers control #326
ChocolateLoverRaj wants to merge 2 commits into
rust-osdev:mainfrom
ChocolateLoverRaj:pm1_events_breaking

Conversation

@ChocolateLoverRaj

@ChocolateLoverRaj ChocolateLoverRaj commented Aug 27, 2026

Copy link
Copy Markdown

Basically an extension of #325 , but does some breaking changes. Fixes #327 .

Now set/clear all event flags in one write. This means no read is
necessary and also eliminates that cause of race conditions.
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.

Pm1EventRegisterBlock::set_event_enabled race condition?

1 participant