multiboot2 icon indicating copy to clipboard operation
multiboot2 copied to clipboard

multiboot2: foundation for mutable reference to tags

Open phip1611 opened this issue 2 years ago • 2 comments

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 avatar Jul 14 '23 15:07 phip1611

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 avatar Jul 14 '23 15:07 phip1611

oh, yes, this looks interesting (if it worked :upside_down_face:)

YtvwlD avatar Jul 14 '23 17:07 YtvwlD

Obsolete as new API was too breaking. This needs a new approach. However, I think it can be nicely integrated in the new multiboot2-common lib

phip1611 avatar Aug 24 '24 11:08 phip1611