From 7674c40a2d02512fa8b4b9cd55929846d02d8ace Mon Sep 17 00:00:00 2001 From: gikidy Date: Fri, 13 Mar 2009 03:30:27 +0000 Subject: Fix cleanScreen issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/efi32.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S index fdee1af393..5afdb9c1f8 100644 --- a/DuetPkg/BootSector/efi32.S +++ b/DuetPkg/BootSector/efi32.S @@ -136,9 +136,9 @@ SectionLoop: cmpw $0, %bx jne SectionLoop - movzwl Idtr, %eax # get size of IDT + movzwl (Idtr), %eax # get size of IDT incl %eax - addl Idtr + 2, %eax # add to base of IDT to get location of memory map... + addl 2(Idtr), %eax # add to base of IDT to get location of memory map... pushl %eax # push memory map location on stack for call to EFILDR... pushl %eax # push return address (useless, just for stack balance) @@ -501,7 +501,7 @@ ClearScreen: pushl %eax pushl %ecx - movb ' ', %al + movb 0x00, %al movb $0xc, %ah movl $0xb8000, %edi movl $80*24, %ecx -- cgit v1.2.3