Skip to content

Commit b295a62

Browse files
committed
Update uefi crate to v0.9.0
1 parent 222787a commit b295a62

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Cargo.lock

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ x86_64 = { version = "0.13.2", optional = true, default-features = false, featur
3333
usize_conversions = { version = "0.2.0", optional = true }
3434
bit_field = { version = "0.10.0", optional = true }
3535
log = { version = "0.4.8", optional = true }
36-
uefi = { version = "0.7.0", optional = true }
36+
uefi = { version = "0.9.0", optional = true }
3737
argh = { version = "0.1.3", optional = true }
3838
displaydoc = { version = "0.1.7", optional = true }
3939
conquer-once = { version = "0.2.1", optional = true, default-features = false }

src/bin/uefi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ fn init_logger(st: &SystemTable<Boot>) -> (PhysAddr, FrameBufferInfo) {
154154
horizontal_resolution: mode_info.resolution().0,
155155
vertical_resolution: mode_info.resolution().1,
156156
pixel_format: match mode_info.pixel_format() {
157-
PixelFormat::RGB => bootloader::boot_info::PixelFormat::BGR,
158-
PixelFormat::BGR => bootloader::boot_info::PixelFormat::BGR,
157+
PixelFormat::Rgb => bootloader::boot_info::PixelFormat::BGR,
158+
PixelFormat::Bgr => bootloader::boot_info::PixelFormat::BGR,
159159
PixelFormat::Bitmask | PixelFormat::BltOnly => {
160160
panic!("Bitmask and BltOnly framebuffers are not supported")
161161
}

0 commit comments

Comments
 (0)