Subversion Repositories Kolibri OS

Rev

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

Rev 1257 Rev 1259
Line 15... Line 15...
15
;;          GNU GENERAL PUBLIC LICENSE                             ;;
15
;;          GNU GENERAL PUBLIC LICENSE                             ;;
16
;;             Version 2, June 1991                                ;;
16
;;             Version 2, June 1991                                ;;
17
;;                                                                 ;;
17
;;                                                                 ;;
18
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
18
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 19... Line 19...
19
 
19
 
Line 20... Line 20...
20
$Revision: 1257 $
20
$Revision: 1259 $
21
 
21
 
22
uglobal
22
uglobal
23
	last_1sTick	db ?
23
	last_1sTick	db ?
Line 24... Line 24...
24
	last_1hsTick	dd ?
24
	last_1hsTick	dd ?
-
 
25
endg
Line 25... Line 26...
25
endg
26
 
26
 
27
MAX_NET_DEVICES 	equ 16
Line 27... Line 28...
27
MAX_NET_DEVICES equ 16
28
QUEUE_BEFORE_SENDING	equ 1 ; 1 or 0 (enable or disable) currently only affects ethernet
Line 157... Line 158...
157
	je	.exit
158
	je	.exit
Line 158... Line 159...
158
 
159
 
Line 159... Line 160...
159
	mov	[last_1hsTick], eax
160
	mov	[last_1hsTick], eax
-
 
161
 
160
 
162
	call	ETH_handler		    ; handle all queued ethernet packets
-
 
163
if QUEUE_BEFORE_SENDING
161
	call	ETH_handler		    ; handle all queued ethernet packets
164
	call	ETH_send_queued
Line 162... Line 165...
162
	call	ETH_send_queued
165
end if
Line 163... Line 166...
163
	call	TCP_send_queued
166
	call	TCP_send_queued