Browse Source

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!
Philipp Schuster 3 years ago
parent
commit
b255a9460a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      multiboot2/src/efi.rs

+ 3 - 3
multiboot2/src/efi.rs

@@ -44,7 +44,7 @@ pub struct EFIImageHandle32 {
 }
 
 impl EFIImageHandle32 {
-    /// The Physical address of a i386 EFI system table.
+    /// Returns the physical address of the EFI image handle.
     pub fn image_handle(&self) -> usize {
         self.pointer as usize
     }
@@ -60,8 +60,8 @@ pub struct EFIImageHandle64 {
 }
 
 impl EFIImageHandle64 {
-    /// The Physical address of a i386 EFI system table.
-    pub fn sdt_address(&self) -> usize {
+    /// Returns the physical address of the EFI image handle.
+    pub fn image_handle(&self) -> usize {
         self.pointer as usize
     }
 }