Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9823 → Rev 9828

/kernel/trunk/core/dll.inc
1154,9 → 1154,8
call malloc
test eax, eax
jz .fail_and_free_user
mov ebx, [current_slot_idx]
shl ebx, BSF sizeof.APPDATA
mov edx, [SLOT_BASE + ebx + APPDATA.tid]
mov ebx, [current_slot]
mov edx, [ebx + APPDATA.tid]
mov [eax + HDLL.pid], edx
push eax
call init_dlls_in_thread
/kernel/trunk/core/heap.inc
1396,9 → 1396,8
mov edx, E_ACCESS
ja .fail
 
mov ebx, [current_slot_idx]
shl ebx, BSF sizeof.APPDATA
mov ebx, [SLOT_BASE + ebx + APPDATA.tid]
mov ebx, [current_slot]
mov ebx, [ebx + APPDATA.tid]
mov eax, sizeof.SMAP
 
call create_kernel_object
/kernel/trunk/core/sys32.inc
342,9 → 342,8
mov ecx, application_table_mutex
call mutex_lock
 
mov eax, [current_slot_idx]
shl eax, BSF sizeof.APPDATA
mov eax, [eax + SLOT_BASE + APPDATA.tid]
mov eax, [current_slot]
mov eax, [eax + APPDATA.tid]
 
mov [application_table_owner], eax
 
389,7 → 388,7
@@:
stdcall new_mem_resize, ecx
.store_result:
mov [esp+32], eax
mov [esp + SYSCALL_STACK._eax], eax
.no_application_mem_resize:
ret
 
/kernel/trunk/core/v86.inc
827,9 → 827,8
v86_irq2:
mov esi, [v86_irqhooks + edi*8] ; get VM handle
mov eax, [esi + V86_machine.process]
mov ecx, [current_slot_idx]
shl ecx, BSF sizeof.APPDATA
cmp [SLOT_BASE + ecx + APPDATA.process], eax
mov ecx, [current_slot]
cmp [ecx + APPDATA.process], eax
jnz .notcurrent
lea eax, [edi+8]
cmp al, 10h