Skip to content
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

uefi: Use atomics instead of static mut in allocator #979

Merged
merged 2 commits into from Oct 29, 2023

Conversation

nicholasbishop
Copy link
Contributor

This completes the transition away from any uses of static mut.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

Change the allocator's `BOOT_SERVICES` static to a `SYSTEM_TABLE` containing an
`AtomicPtr`.

This completes the transition away from any uses of `static mut`.
@phip1611 phip1611 added this pull request to the merge queue Oct 29, 2023
Merged via the queue into rust-osdev:main with commit 23a9f1b Oct 29, 2023
12 checks passed
@nicholasbishop nicholasbishop deleted the bishop-atomic-allocator branch October 29, 2023 14:55
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.

None yet

2 participants