Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 108 → Rev 115

/kernel/trunk/network/stack.inc
995,7 → 995,7
 
; Get the address of the callers data
mov edi,[0x3010]
add edi,0x10
add edi,TASKDATA.mem_start
add edx,[edi]
mov edi, edx
 
1058,7 → 1058,7
 
; Get the address of the callers data
mov edi,[0x3010]
add edi,0x10
add edi,TASKDATA.mem_start
add eax,[edi]
mov esi, eax
 
1117,7 → 1117,7
mov [eax + 24], dword 0 ; recieved data count
 
mov esi, [0x3010]
mov ebx, [esi+0x4]
mov ebx, [esi+TASKDATA.pid]
mov [eax + 4], ebx ; save the process ID
pop eax ; Get the socket number back, so we can return it
 
1176,7 → 1176,7
mov [eax + 28], ebx ; Indicate the state of the TCB
 
mov esi, [0x3010]
mov ecx, [esi+0x4]
mov ecx, [esi+TASKDATA.pid]
mov [eax + 4], ecx ; save the process ID
 
cmp ebx, TCB_LISTEN
1548,7 → 1548,7
 
; Get the address of the callers data
mov edi,[0x3010]
add edi,0x10
add edi,TASKDATA.mem_start
add eax,[edi]
mov esi, eax
 
1671,7 → 1671,7
 
; Get the address of the callers data
mov edi,[0x3010]
add edi,0x10
add edi,TASKDATA.mem_start
add edx,[edi]
mov esi, edx
 
/kernel/trunk/network/tcp.inc
1004,7 → 1004,7
; flag an event to the application
pop eax
mov ecx,1
mov esi,0x3020+0x4
mov esi,0x3020+TASKDATA.pid
 
news:
cmp [esi],eax
1016,7 → 1016,7
 
foundPID1:
shl ecx,8
or dword [ecx+0x80000+0xA8],dword 10000000b ; stack event
or dword [ecx+0x80000+APPDATA.event_mask],dword 10000000b ; stack event
 
pop ecx
 
/kernel/trunk/network/udp.inc
114,7 → 114,7
; flag an event to the application
pop eax
mov ecx,1
mov esi,0x3020+0x4
mov esi,0x3020+TASKDATA.pid
newsearch:
cmp [esi],eax
126,7 → 126,7
foundPID:
shl ecx,8
or dword [ecx+0x80000+0xA8],dword 10000000b ; stack event
or dword [ecx+0x80000+APPDATA.event_mask],dword 10000000b ; stack event
 
mov [check_idle_semaphore],200