Subversion Repositories Kolibri OS

Rev

Rev 8700 | Rev 8867 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8700 Rev 8866
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2019. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2021. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;;  STACK.INC                                                      ;;
6
;;  STACK.INC                                                      ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;  TCP/IP stack for KolibriOS                                     ;;
8
;;  TCP/IP stack for KolibriOS                                     ;;
Line 19... Line 19...
19
;;          GNU GENERAL PUBLIC LICENSE                             ;;
19
;;          GNU GENERAL PUBLIC LICENSE                             ;;
20
;;             Version 2, June 1991                                ;;
20
;;             Version 2, June 1991                                ;;
21
;;                                                                 ;;
21
;;                                                                 ;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 23... Line 23...
23
 
23
 
Line 24... Line 24...
24
$Revision: 8700 $
24
$Revision: 8866 $
25
 
25
 
26
uglobal
26
uglobal
27
        net_10ms        dd ?
27
        net_10ms        dd ?
Line 432... Line 432...
432
        DEBUGF  DEBUG_NETWORK_VERBOSE, "net_send_event\n"
432
        DEBUGF  DEBUG_NETWORK_VERBOSE, "net_send_event\n"
Line 433... Line 433...
433
 
433
 
434
; Send event to all applications
434
; Send event to all applications
435
        push    edi ecx
435
        push    edi ecx
436
        mov     edi, SLOT_BASE
436
        mov     edi, SLOT_BASE
437
        mov     ecx, [TASK_COUNT]
437
        mov     ecx, [thread_count]
438
  .loop:
438
  .loop:
439
        add     edi, 256
439
        add     edi, 256
440
        or      [edi + APPDATA.event_mask], EVENT_NETWORK2
440
        or      [edi + APPDATA.event_mask], EVENT_NETWORK2
441
        loop    .loop
441
        loop    .loop