summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-13 03:30:27 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-13 03:30:27 +0000
commit7674c40a2d02512fa8b4b9cd55929846d02d8ace (patch)
tree486b14fc7d68c38a6dd66ed1189baab6380ca7a4 /DuetPkg/BootSector
parent25cda2e0697428c47a33accdb3d4ff13f5391cc3 (diff)
Fix cleanScreen issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector')
-rw-r--r--DuetPkg/BootSector/efi32.S6
1 files 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