/kernel/trunk/core/dll.inc |
---|
476,7 → 476,7 |
jne .cleanup |
mov eax, [file] |
cmp dword [eax], 0x4B43504B |
cmp dword [eax], 'KPCK' |
jne .exit |
mov ebx, [eax+4] |
mov [file_size], ebx |
583,7 → 583,7 |
jne .err_2 |
mov eax, [km_file] |
cmp dword [eax], 0x4B43504B ; check kpack signature |
cmp dword [eax], 'KPCK' ; check kpack signature |
jne .raw_file |
mov ebx, [eax+4] ;get real size of file |
/kernel/trunk/core/memory.inc |
---|
1336,7 → 1336,7 |
align 4 |
proc print_mem |
mov edi, BOOT_VAR + 0x9104 |
mov edi, BOOT_VAR + BOOT_MEMMAP_BLOCKS |
mov ecx, [edi-4] |
test ecx, ecx |
jz .done |