]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/efi32.S
cleanScreen verified.
[mirror_edk2.git] / DuetPkg / BootSector / efi32.S
index fdee1af393b9750258e4e33333d8c474239ff354..11e53b248874f47ba4b6bddfd61e92e2d9f71b1c 100644 (file)
@@ -136,9 +136,9 @@ SectionLoop:
     cmpw    $0, %bx\r
     jne     SectionLoop\r
 \r
-    movzwl  Idtr, %eax                  # get size of IDT\r
+    movzwl  (Idtr), %eax                  # get size of IDT\r
     incl    %eax\r
-    addl    Idtr + 2, %eax             # add to base of IDT to get location of memory map... \r
+    addl    2(Idtr), %eax             # add to base of IDT to get location of memory map... \r
     pushl   %eax                        # push memory map location on stack for call to EFILDR...\r
 \r
     pushl   %eax                        # push return address (useless, just for stack balance)\r
@@ -501,7 +501,7 @@ ClearScreen:
     pushl   %eax\r
     pushl   %ecx\r
 \r
-    movb    ' ', %al\r
+    movb    $0x00, %al\r
     movb    $0xc, %ah\r
     movl    $0xb8000, %edi\r
     movl    $80*24, %ecx\r