Skip to content

uefi: Remove static references from SystemTable implementation #710

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

Merged

Conversation

nicholasbishop
Copy link
Member

Static references have stronger guarantees than raw pointers, and since these fields are internal anyway let's avoid the risk of UB and keep them as raw pointers.

Checklist

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

Static references have stronger guarantees than raw pointers, and since these
fields are internal anyway let's avoid the risk of UB and keep them as raw
pointers.
@phip1611 phip1611 force-pushed the bishop-remove-static-ref branch from 45bb415 to c7b2f8e Compare March 25, 2023 21:42
@nicholasbishop nicholasbishop merged commit 6e5fba4 into rust-osdev:main Mar 26, 2023
@nicholasbishop nicholasbishop deleted the bishop-remove-static-ref branch March 26, 2023 04:25
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