mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 11:52:34 +03:00
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:
parent
0ba1fff7a7
commit
b2cff15daa
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user