Synced net branch with trunk (#3358)

git-svn-id: svn://kolibrios.org@3359 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-03-10 12:28:37 +00:00
parent 7e246790ed
commit cc4161de83
65 changed files with 6785 additions and 6056 deletions

View File

@@ -291,11 +291,15 @@ stack_handler:
align 4
NET_link_changed:
ret
DEBUGF 1,"NET_link_changed: %x\n", ebx
align 4
NET_send_event:
ret
DEBUGF 1,"NET_send_event\n"
; Send event to all applications
@@ -330,8 +334,7 @@ NET_add_device:
DEBUGF 1,"NET_Add_Device: %x\n", ebx ;;; TODO: use mutex to lock net device list
mov eax, [NET_RUNNING]
cmp eax, MAX_NET_DEVICES
cmp [NET_RUNNING], MAX_NET_DEVICES
jae .error
;----------------------------------