Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3725 → Rev 3724

/kernel/branches/Kolibri-acpi/core/v86.inc
896,7 → 896,6
iretd
.found:
mov cr3, eax
mov esi, [ebx+APPDATA.saved_esp0]
sub word [esi-sizeof.v86_regs+v86_regs.esp], 6
mov ecx, [esi-sizeof.v86_regs+v86_regs.eip]
mov word [edx], cx
917,7 → 916,7
call update_counters
lea edi, [ebx + 0x100000000 - SLOT_BASE]
shr edi, 3
add edi, CURRENT_TASK
add edi, TASK_DATA
call find_next_task.found
call do_change_task
popad
/kernel/branches/Kolibri-acpi/core/malloc.inc
22,7 → 22,7
;
align 4
malloc:
push ebx esi
push esi
 
; nb = ((size+7)&~7)+8;
 
96,7 → 96,7
mov ecx, mst.mutex
call mutex_unlock
mov eax, esi
pop esi ebx
pop esi
ret
 
.split:
205,7 → 205,7
test eax, eax
jz .exit
 
push ebx edi
push edi
mov edi, eax
add edi, -8
 
298,7 → 298,7
mov eax, esi
pop esi
.fail:
pop edi ebx
pop edi
.exit:
ret