Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3339 → Rev 3340

/kernel/branches/net/network/stack.inc
287,6 → 287,28
 
 
 
align 4
NET_link_changed:
 
align 4
NET_send_event:
 
; Send event to all applications
push edi ecx
mov edi, SLOT_BASE
mov ecx, [TASK_COUNT]
.loop:
add edi, 256
or [edi + APPDATA.event_mask], EVENT_NETWORK2
loop .loop
pop ecx edi
 
; call change_task
 
ret
 
 
 
;-----------------------------------------------------------------
;
; NET_add_device:
344,6 → 366,8
pop eax
@@:
 
call NET_send_event
 
DEBUGF 1,"Device number: %u\n", eax
ret
 
435,6 → 459,8
xor eax, eax
mov dword [edi-4], eax
 
call NET_send_event
 
dec [NET_RUNNING]
ret