]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix cleanScreen issue.
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Mar 2009 03:30:27 +0000 (03:30 +0000)
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Mar 2009 03:30:27 +0000 (03:30 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/BootSector/efi32.S

index fdee1af393b9750258e4e33333d8c474239ff354..5afdb9c1f8657591d24fdda3c9ee1f68d3a8e61a 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