/kernel/branches/net/network/stack.inc |
---|
287,28 → 287,6 |
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: |
366,8 → 344,6 |
pop eax |
@@: |
call NET_send_event |
DEBUGF 1,"Device number: %u\n", eax |
ret |
459,8 → 435,6 |
xor eax, eax |
mov dword [edi-4], eax |
call NET_send_event |
dec [NET_RUNNING] |
ret |