Fix cleanScreen issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gikidy 2009-03-13 03:30:27 +00:00
parent 25cda2e069
commit 7674c40a2d

View File

@ -136,9 +136,9 @@ SectionLoop:
cmpw $0, %bx cmpw $0, %bx
jne SectionLoop jne SectionLoop
movzwl Idtr, %eax # get size of IDT movzwl (Idtr), %eax # get size of IDT
incl %eax 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 memory map location on stack for call to EFILDR...
pushl %eax # push return address (useless, just for stack balance) pushl %eax # push return address (useless, just for stack balance)
@ -501,7 +501,7 @@ ClearScreen:
pushl %eax pushl %eax
pushl %ecx pushl %ecx
movb ' ', %al movb 0x00, %al
movb $0xc, %ah movb $0xc, %ah
movl $0xb8000, %edi movl $0xb8000, %edi
movl $80*24, %ecx movl $80*24, %ecx