From 9f5cc70596a3e10e00fbd9b0b29a72dea38cbb10 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Mon, 11 May 2020 23:48:44 +0000 Subject: [PATCH] sysfuncs.txt: Cosmetic and typo fixes to sf76. git-svn-id: svn://kolibrios.org@7915 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/docs/sysfuncs.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/kernel/trunk/docs/sysfuncs.txt b/kernel/trunk/docs/sysfuncs.txt index f3dcd8cf96..65914e1546 100644 --- a/kernel/trunk/docs/sysfuncs.txt +++ b/kernel/trunk/docs/sysfuncs.txt @@ -4420,7 +4420,7 @@ Parameters: * bl = 0 - subfunction number * bh = device number Returned value: - * eax = device type number + * eax = device type number, -1 on error ---------------------- Constants for registers: ---------------------- eax - SF_NETWORK_GET (74) @@ -4514,7 +4514,7 @@ Parameters: * bh = device number Returned value: * eax = Number of bytes sent since device start (lower dword) - -1 on error + -1 on error * ebx = Number of bytes sent since device start (higher dword) ---------------------- Constants for registers: ---------------------- @@ -4529,7 +4529,7 @@ Parameters: * bh = device number Returned value: * eax = Number of bytes received since device start (lower dword) - -1 on error + -1 on error * ebx = Number of bytes received since device start (higher dword) ---------------------- Constants for registers: ---------------------- @@ -4856,7 +4856,7 @@ Parameters: * eax = 76 - function number * high half of ebx = 1 (IPv4) * bh = device number - * bl = 7 (Set DNS address) + * bl = 7 (Set subnet mask) * ecx = subnet mask Returned value: * eax = -1 on error @@ -4996,7 +4996,8 @@ Parameters: Returned value: * eax = -1 on error Remarks: - ARP_entry struct is defined in ARP.inc in kernel and currently looks like this: + * ARP_entry struct is defined in ARP.inc in kernel and currently + looks like this: struct ARP_entry IP dd ? MAC dp ? @@ -5005,7 +5006,7 @@ struct ARP_entry ends ====================================================================== -==== Function 76, Protocol 5 - ARP, Subfunction 4, Add ARP entry ==== +===== Function 76, Protocol 5 - ARP, Subfunction 4, Add ARP entry ==== ====================================================================== Parameters: * eax = 76 - function number @@ -5016,16 +5017,16 @@ Parameters: Returned value: * eax = -1 on error Remarks: - See previous function for details on ARP entry. + * See previous function for details on ARP entry. ====================================================================== -=== Function 76, Protocol 5 - ARP, Subfunction 5, Remove ARP entry ==== +=== Function 76, Protocol 5 - ARP, Subfunction 5, Remove ARP entry === ====================================================================== Parameters: * eax = 76 - function number * high half of ebx = 5 (ARP) * bh = device number - * bl = 3 (Read ARP entry) + * bl = 5 (Remove ARP entry) * ecx = ARP entry number (0 based), use -1 to clear whole ARP table. Returned value: * eax = -1 on error