Fixed a severe typo

svn path=/trunk/; revision=1774
This commit is contained in:
Eric Kohl 2001-04-03 20:18:21 +00:00
parent b63d768a18
commit 8d1e0c87b3

View file

@ -282,9 +282,11 @@ entry:
xor ebx,ebx
mov [_multiboot_mem_upper],ebx
mov [_multiboot_mem_lower],ebx
mov ax, 0xe801
int 015h
jc .oldstylemem
cmp ax, 0
je .cmem
@ -295,11 +297,11 @@ entry:
add dword [_multiboot_mem_upper],eax
jmp .done_mem
.cmem
.cmem:
cmp cx, 0
je .oldstylemem
add edx, 0xFFFF
and edx, 0xFFFF
shl edx, 6
mov [_multiboot_mem_upper], edx
and ecx, 0xFFFF