uefi4kos: Fix boot and mouse pointer on some configurations.

UEFI firmware doesn't use VESA mode codes, so disable this check
for UEFI boot.

git-svn-id: svn://kolibrios.org@8284 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-11-30 17:19:17 +00:00
parent a27b206a90
commit 295aa0ad77
4 changed files with 113 additions and 100 deletions

View File

@@ -70,7 +70,7 @@ proc init_mem
; ignore memory after 4 GiB
cmp [edi+e820entry.addr.hi], 0
jnz .unusable
mov eax, [edi]
mov eax, [edi+e820entry.addr.lo]
cmp [edi+e820entry.size.hi], 0
jnz .overflow
add eax, [edi+e820entry.size.lo]