Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1480 → Rev 1481

/kernel/branches/net/applications/zeroconf/zeroconf.asm
204,12 → 204,12
invoke ini.get_str, path, str_ipconfig, str_dns, inibuf, 16, 0
mov edx, inibuf
call Ip2dword
mcall 75, 7, edx
mcall 75, 5, edx
 
invoke ini.get_str, path, str_ipconfig, str_subnet, inibuf, 16, 0
mov edx, inibuf
call Ip2dword
mcall 75, 5, edx
mcall 75, 7, edx
 
 
mcall -1
/kernel/branches/net/drivers/3c59x.asm
827,7 → 827,12
out dx, ax
 
xor eax, eax
; clear packet/byte counters
 
lea edi, [device.bytes_tx]
mov ecx, 6
rep stosd
 
ret
 
 
2308,9 → 2313,15
DEBUGF 1,"Found place in TX buffer: %x\n", edi
push edi ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
; update statistics
inc [device.packets_tx]
 
mov ecx, [esp+8+8]
add dword [device.bytes_tx], ecx
adc dword [device.bytes_tx + 4], 0
 
; copy packet data
mov esi, [esp+4+8]
mov ecx, [esp+8+8]
DEBUGF 1,"Copying %u bytes from %x to %x\n", ecx, esi, edi
shr cx , 1
jnc .nb
2775,6 → 2786,12
 
DEBUGF 1, " copying %u bytes from %x to %x\n", ecx, esi, edi
 
; update statistics
inc [device.packets_rx]
 
add dword [device.bytes_rx], ecx
adc dword [device.bytes_rx + 4], 0
 
; copy packet data
shr cx , 1
jnc .nb
/kernel/branches/net/drivers/netdrv.inc
44,20 → 44,6
}
 
 
macro diff16 title,l1,l2
{
local s,d
s = l2-l1
display title,': 0x'
repeat 16
d = 48 + s shr ((16-%) shl 2) and $0F
if d > 57
d = d + 65-57-1
end if
display d
end repeat
display 13,10
}
 
macro allocate_and_clear dest, size, err {