From 8f787590033c6ae653c02852e8a086c21cee5b7f Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 14 May 2013 11:25:53 +0800 Subject: [PATCH] Kernel - Update syscall definition (comment only) --- KernelLand/Kernel/include/syscalls.h | 2 +- KernelLand/Kernel/include/syscalls.inc.asm | 2 +- KernelLand/Kernel/syscalls.lst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1