Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1451 → Rev 1450

/kernel/trunk/init.inc
139,10 → 139,14
dec [pg_data.kernel_tables-OS_BASE]
 
mov [edx], eax
add eax, 0x00400000
add edx, 4
 
mov edi, [tmp_page_tabs]
jmp .map_kernel_heap ; new kernel fits to the first 4Mb - nothing to do with ".map_low"
mov eax, 0x400000+PG_SW
mov ecx, [tmp_page_tabs]
sub ecx, 0x400000
shr ecx, 12 ;ecx/=4096
jmp .map_low
.no_PSE:
mov eax, PG_SW
mov ecx, [tmp_page_tabs]
155,7 → 159,6
dec ecx
jnz @B
 
.map_kernel_heap:
mov ecx, [pg_data.kernel_tables-OS_BASE]
shl ecx, 10
xor eax, eax
167,6 → 170,7
mov edi, edx
 
.map_kernel_tabs:
 
stosd
add eax, 0x1000
dec ecx