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
This commit is contained in:
hidnplayr 2015-03-17 22:01:39 +00:00
parent 0ba1fff7a7
commit b2cff15daa
2 changed files with 1 additions and 2 deletions

View File

@ -127,6 +127,7 @@ LOOP_output:
ja .too_large ja .too_large
push ecx edi push ecx edi
add ecx, NET_BUFF.data
stdcall NET_BUFF_alloc, ecx stdcall NET_BUFF_alloc, ecx
test eax, eax test eax, eax
jz .out_of_ram jz .out_of_ram

View File

@ -344,13 +344,11 @@ stack_handler:
align 4 align 4
NET_BUFF_alloc: NET_BUFF_alloc:
add dword[esp+4], NET_BUFF.data
jmp kernel_alloc jmp kernel_alloc
align 4 align 4
NET_BUFF_free: NET_BUFF_free:
and dword[esp+4], not 0xfff
jmp kernel_free jmp kernel_free