Subversion Repositories Kolibri OS

Rev

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

Rev 3589 Rev 3626
Line 12... Line 12...
12
;;          GNU GENERAL PUBLIC LICENSE                             ;;
12
;;          GNU GENERAL PUBLIC LICENSE                             ;;
13
;;             Version 2, June 1991                                ;;
13
;;             Version 2, June 1991                                ;;
14
;;                                                                 ;;
14
;;                                                                 ;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 16... Line 16...
16
 
16
 
Line 17... Line 17...
17
$Revision: 3589 $
17
$Revision: 3626 $
Line 18... Line 18...
18
 
18
 
Line 27... Line 27...
27
ends
27
ends
Line 28... Line 28...
28
 
28
 
29
 
29
 
30
align 4
30
align 4
31
uglobal
31
uglobal
32
        UDP_PACKETS_TX          rd  MAX_NET_DEVICES
32
        UDP_PACKETS_TX          rd  NET_DEVICES_MAX
Line 33... Line 33...
33
        UDP_PACKETS_RX          rd  MAX_NET_DEVICES
33
        UDP_PACKETS_RX          rd  NET_DEVICES_MAX
34
endg
34
endg
Line 43... Line 43...
43
;-----------------------------------------------------------------
43
;-----------------------------------------------------------------
44
macro   UDP_init {
44
macro   UDP_init {
Line 45... Line 45...
45
 
45
 
46
        xor     eax, eax
46
        xor     eax, eax
47
        mov     edi, UDP_PACKETS_TX
47
        mov     edi, UDP_PACKETS_TX
48
        mov     ecx, 2*MAX_NET_DEVICES
48
        mov     ecx, 2*NET_DEVICES_MAX
49
        rep     stosd
49
        rep     stosd
Line 50... Line 50...
50
}
50
}