Skip to content

Commit b255a94

Browse files
committed
multiboot2: fix stupid copy & paste bug
I already had it right in the first place; probably I did some CTRL+Z without noticing it.. sorry!
1 parent ea20ca7 commit b255a94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

multiboot2/src/efi.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub struct EFIImageHandle32 {
4444
}
4545

4646
impl EFIImageHandle32 {
47-
/// The Physical address of a i386 EFI system table.
47+
/// Returns the physical address of the EFI image handle.
4848
pub fn image_handle(&self) -> usize {
4949
self.pointer as usize
5050
}
@@ -60,8 +60,8 @@ pub struct EFIImageHandle64 {
6060
}
6161

6262
impl EFIImageHandle64 {
63-
/// The Physical address of a i386 EFI system table.
64-
pub fn sdt_address(&self) -> usize {
63+
/// Returns the physical address of the EFI image handle.
64+
pub fn image_handle(&self) -> usize {
6565
self.pointer as usize
6666
}
6767
}

0 commit comments

Comments
 (0)