Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/mips Added some comments



details:   https://anonhg.NetBSD.org/src/rev/c65449ae69c0
branches:  trunk
changeset: 514418:c65449ae69c0
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Sep 02 07:25:58 2001 +0000

description:
Added some comments

diffstat:

 sys/compat/linux/arch/mips/linux_mmap.h     |  7 +++++--
 sys/compat/linux/arch/mips/linux_sigarray.c |  5 ++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 57e9393c55ef -r c65449ae69c0 sys/compat/linux/arch/mips/linux_mmap.h
--- a/sys/compat/linux/arch/mips/linux_mmap.h   Sun Sep 02 07:24:49 2001 +0000
+++ b/sys/compat/linux/arch/mips/linux_mmap.h   Sun Sep 02 07:25:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_mmap.h,v 1.2 2001/08/26 16:21:56 manu Exp $      */
+/*     $NetBSD: linux_mmap.h,v 1.3 2001/09/02 07:26:11 manu Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -44,8 +44,11 @@
  * LINUX_MAP_SHARED/PRIVATE defined in common/linux_mmap.h */
  */
 
+/*
+ * From Linux's include/asm-mips/mman.h 
+ */
 #define LINUX_MAP_FIXED                0x0010
-#define LINUX_MAP_ANON         0x0800
+#define LINUX_MAP_ANON         0x0800  /* MAP_ANONYMOUS for Linux */
 
 /* Ignored */
 #define LINUX_MAP_RENAME       0x0020
diff -r 57e9393c55ef -r c65449ae69c0 sys/compat/linux/arch/mips/linux_sigarray.c
--- a/sys/compat/linux/arch/mips/linux_sigarray.c       Sun Sep 02 07:24:49 2001 +0000
+++ b/sys/compat/linux/arch/mips/linux_sigarray.c       Sun Sep 02 07:25:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sigarray.c,v 1.1 2001/08/26 16:33:01 manu Exp $ */
+/*     $NetBSD: linux_sigarray.c,v 1.2 2001/09/02 07:25:58 manu Exp $ */
 
 /*-
  * Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc.
@@ -43,6 +43,9 @@
 
 #include <compat/linux/common/linux_signal.h>
 
+/* 
+ * From Linux's include/asm-mips/signal.h 
+ */
 const int linux_to_native_sig[LINUX__NSIG] = {
        0,                              /* 0 */
        SIGHUP,



Home | Main Index | Thread Index | Old Index