Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/irix In mmap, use the address returned by sys_mma...
details: https://anonhg.NetBSD.org/src/rev/6f323e78348f
branches: trunk
changeset: 538633:6f323e78348f
user: manu <manu%NetBSD.org@localhost>
date: Wed Oct 23 20:45:38 2002 +0000
description:
In mmap, use the address returned by sys_mmap to keep track of (un)shared
regions
diffstat:
sys/compat/irix/irix_mman.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r cb1e6ad2ab30 -r 6f323e78348f sys/compat/irix/irix_mman.c
--- a/sys/compat/irix/irix_mman.c Wed Oct 23 20:35:45 2002 +0000
+++ b/sys/compat/irix/irix_mman.c Wed Oct 23 20:45:38 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: irix_mman.c,v 1.5 2002/10/14 21:14:24 manu Exp $ */
+/* $NetBSD: irix_mman.c,v 1.6 2002/10/23 20:45:38 manu Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_mman.c,v 1.5 2002/10/14 21:14:24 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_mman.c,v 1.6 2002/10/23 20:45:38 manu Exp $");
#include "opt_sysv.h"
@@ -226,6 +226,7 @@
if (flags & IRIX_MAP_LOCAL) {
if ((error = sys_mmap(p, &cup, retval)) != 0)
return error;
+ addr = (void *)*retval;
irix_isrr_insert((vaddr_t)addr, len, IRIX_ISRR_PRIVATE, p);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index