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

multiboot2: foundation for mutable reference to tags #171

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phip1611
Copy link
Collaborator

This is the foundation for a mutable boot information and another approach than #140. By using the NonNull facility, we can ensure that the compiler will not optimize away any mutable operations. I could not find a way to use UnsafeCell here in a meaningful way.

I think this approach has the advantage that the public API is barely changed - unlike in #140.

@phip1611
Copy link
Collaborator Author

phip1611 commented Jul 14, 2023

I'm still unsure but I think with this approach, we might have a less invasive approach while still having idiomatic Rust - What do you think, @YtvwlD ?

@phip1611 phip1611 self-assigned this Jul 14, 2023
@YtvwlD
Copy link
Contributor

YtvwlD commented Jul 14, 2023

oh, yes, this looks interesting (if it worked 🙃)

@phip1611 phip1611 added this to the multiboot2: v0.20 milestone Sep 21, 2023
@phip1611 phip1611 removed their assignment Dec 22, 2023
@phip1611 phip1611 removed this from the multiboot2: v0.20 milestone May 22, 2024
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