From: John Hodge Date: Tue, 14 May 2013 03:25:53 +0000 (+0800) Subject: Kernel - Update syscall definition (comment only) X-Git-Tag: rel0.15~493 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8f787590033c6ae653c02852e8a086c21cee5b7f;p=tpg%2Facess2.git Kernel - Update syscall definition (comment only) --- diff --git a/KernelLand/Kernel/include/syscalls.h b/KernelLand/Kernel/include/syscalls.h index 8a935119..03542e1b 100644 --- a/KernelLand/Kernel/include/syscalls.h +++ b/KernelLand/Kernel/include/syscalls.h @@ -48,7 +48,7 @@ #define SYS_OPENPIPE 67 // Open a FIFO pipe pair #define SYS_CLOSE 68 // Close a file #define SYS_COPYFD 69 // Create a copy of a file handle -#define SYS_FDCTL 70 // Modify properties of a file descriptor +#define SYS_FDCTL 70 // Modify flags of a file descriptor #define SYS_READ 71 // Read from an open file #define SYS_WRITE 72 // Write to an open file #define SYS_IOCTL 73 // Perform an IOCtl Call diff --git a/KernelLand/Kernel/include/syscalls.inc.asm b/KernelLand/Kernel/include/syscalls.inc.asm index 55f8fee8..eec7edcd 100644 --- a/KernelLand/Kernel/include/syscalls.inc.asm +++ b/KernelLand/Kernel/include/syscalls.inc.asm @@ -40,7 +40,7 @@ %define SYS_OPENPIPE 67 ;Open a FIFO pipe pair %define SYS_CLOSE 68 ;Close a file %define SYS_COPYFD 69 ;Create a copy of a file handle -%define SYS_FDCTL 70 ;Modify properties of a file descriptor +%define SYS_FDCTL 70 ;Modify flags of a file descriptor %define SYS_READ 71 ;Read from an open file %define SYS_WRITE 72 ;Write to an open file %define SYS_IOCTL 73 ;Perform an IOCtl Call diff --git a/KernelLand/Kernel/syscalls.lst b/KernelLand/Kernel/syscalls.lst index b1392171..6a82de27 100644 --- a/KernelLand/Kernel/syscalls.lst +++ b/KernelLand/Kernel/syscalls.lst @@ -47,7 +47,7 @@ SYS_OPENCHILD Open a child entry in a directory SYS_OPENPIPE Open a FIFO pipe pair SYS_CLOSE Close a file SYS_COPYFD Create a copy of a file handle -SYS_FDCTL Modify properties of a file descriptor +SYS_FDCTL Modify flags of a file descriptor SYS_READ Read from an open file SYS_WRITE Write to an open file SYS_IOCTL Perform an IOCtl Call