Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
b255a9460a
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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
     }
 }