forked from KolibriOS/kolibrios
fix usbstor after r4105
git-svn-id: svn://kolibrios.org@4127 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
8a4eaef42c
commit
395cf49f52
@ -60,6 +60,7 @@ kernel_export \
|
|||||||
CreateRingBuffer,\
|
CreateRingBuffer,\
|
||||||
\
|
\
|
||||||
GetPid,\
|
GetPid,\
|
||||||
|
CreateThread,\
|
||||||
CreateObject,\
|
CreateObject,\
|
||||||
DestroyObject,\
|
DestroyObject,\
|
||||||
CreateEvent,\
|
CreateEvent,\
|
||||||
|
@ -1002,13 +1002,12 @@ proc inquiry_callback
|
|||||||
; to allow the USB thread to continue working and handling those requests.
|
; to allow the USB thread to continue working and handling those requests.
|
||||||
; 4. Thus, create a temporary kernel thread which would do it.
|
; 4. Thus, create a temporary kernel thread which would do it.
|
||||||
mov edx, [esp+8]
|
mov edx, [esp+8]
|
||||||
push ebx ecx
|
push ebx ecx esi edi
|
||||||
movi eax, 51
|
|
||||||
movi ebx, 1
|
movi ebx, 1
|
||||||
mov ecx, new_disk_thread
|
mov ecx, new_disk_thread
|
||||||
; edx = parameter
|
; edx = parameter
|
||||||
int 0x40
|
call CreateThread
|
||||||
pop ecx ebx
|
pop edi esi ecx ebx
|
||||||
cmp eax, -1
|
cmp eax, -1
|
||||||
jnz .nothing
|
jnz .nothing
|
||||||
; on error, reverse step 3
|
; on error, reverse step 3
|
||||||
|
Loading…
Reference in New Issue
Block a user