From b2cff15daa6782812611b975409441fecac6e097 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 17 Mar 2015 22:01:39 +0000 Subject: [PATCH] Kernel hack for i8255x devices is no longer needed. Corrected network buffer size. git-svn-id: svn://kolibrios.org@5523 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/loopback.inc | 1 + kernel/trunk/network/stack.inc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/trunk/network/loopback.inc b/kernel/trunk/network/loopback.inc index f0147cc020..64ba77b0eb 100644 --- a/kernel/trunk/network/loopback.inc +++ b/kernel/trunk/network/loopback.inc @@ -127,6 +127,7 @@ LOOP_output: ja .too_large push ecx edi + add ecx, NET_BUFF.data stdcall NET_BUFF_alloc, ecx test eax, eax jz .out_of_ram diff --git a/kernel/trunk/network/stack.inc b/kernel/trunk/network/stack.inc index 49c1bf06ae..2e3c09065e 100644 --- a/kernel/trunk/network/stack.inc +++ b/kernel/trunk/network/stack.inc @@ -344,13 +344,11 @@ stack_handler: align 4 NET_BUFF_alloc: - add dword[esp+4], NET_BUFF.data jmp kernel_alloc align 4 NET_BUFF_free: - and dword[esp+4], not 0xfff jmp kernel_free