Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4127 → Rev 4126

/kernel/trunk/drivers/imports.inc
60,7 → 60,6
CreateRingBuffer,\
\
GetPid,\
CreateThread,\
CreateObject,\
DestroyObject,\
CreateEvent,\
/kernel/trunk/drivers/usbstor.asm
1002,12 → 1002,13
; to allow the USB thread to continue working and handling those requests.
; 4. Thus, create a temporary kernel thread which would do it.
mov edx, [esp+8]
push ebx ecx esi edi
push ebx ecx
movi eax, 51
movi ebx, 1
mov ecx, new_disk_thread
; edx = parameter
call CreateThread
pop edi esi ecx ebx
int 0x40
pop ecx ebx
cmp eax, -1
jnz .nothing
; on error, reverse step 3