Fix for r907: correctly initialize resend queue

git-svn-id: svn://kolibrios.org@913 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Mihail Semenyako (mike.dld) 2008-11-06 21:36:36 +00:00
parent 9ec5779194
commit a26689b104

View File

@ -174,8 +174,7 @@ include "socket.inc"
stack_init: stack_init:
; Init two address spaces with default values ; Init two address spaces with default values
_memset_dw stack_data_start, 0, 0x20000/4 _memset_dw stack_data_start, 0, 0x20000/4
;_memset_dw resendQ, 0xFFFFFFFF, NUMRESENDENTRIES ; XTODO: validate size _memset_dw resendQ, 0, NUMRESENDENTRIES * 2
_memset_dw resendQ, 0xFFFFFFFF, NUMRESENDENTRIES * 2
mov [net_sockets], 0 mov [net_sockets], 0
mov [net_sockets + 4], 0 mov [net_sockets + 4], 0