Skip to content

uefi: bump from 0.20 to 0.38#566

Open
phip1611 wants to merge 1 commit into
rust-osdev:mainfrom
phip1611:uefi
Open

uefi: bump from 0.20 to 0.38#566
phip1611 wants to merge 1 commit into
rust-osdev:mainfrom
phip1611:uefi

Conversation

@phip1611

@phip1611 phip1611 commented Jun 16, 2026

Copy link
Copy Markdown
Member

Bump the outdated uefi code to a much newer uefi version + misc code improvements

@phip1611 phip1611 self-assigned this Jun 16, 2026
- improve code structure
- use more helpers
- use modern uefi library APIs
@phip1611 phip1611 changed the title uefi: bump from 0.20 to 0.37 uefi: bump from 0.20 to 0.38 Jun 26, 2026
@phip1611 phip1611 marked this pull request as ready for review June 26, 2026 11:31
@phip1611

Copy link
Copy Markdown
Member Author

what do we do about the semver CI issue?

@phil-opp

Copy link
Copy Markdown
Member

The semver CI job fails also on main. cargo-semver-checks is usually not updated directly when the metadata format changes, so we have to wait a bit until it is supported. Safe to ignore for now

@phip1611 phip1611 requested a review from Freax13 June 29, 2026 09:27

@Freax13 Freax13 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is great work!

Sorry for the delay.

Comment thread uefi/src/main.rs
unsafe { slice::from_raw_parts_mut(ptr.as_mut(), size) }
}

fn open_pxe_base_code() -> Option<boot::ScopedProtocol<BaseCode>> {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is subtly changing the behavior isn't it? Previously, we opened the BaseCode handle that was used to load the base image, but now we're looking at all BaseCode handles, right? If a system has more than one network interface (e.g. a wireless one and a wired one), this could change which interface is used to load the files, right?

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.

3 participants