Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern add uvm_km_protect()



details:   https://anonhg.NetBSD.org/src/rev/2f0bee9c2f2a
branches:  trunk
changeset: 346585:2f0bee9c2f2a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jul 20 17:03:50 2016 +0000

description:
add uvm_km_protect()

diffstat:

 sys/rump/librump/rumpkern/vm.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r e0554ab95448 -r 2f0bee9c2f2a sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Wed Jul 20 13:49:17 2016 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Wed Jul 20 17:03:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.169 2016/01/26 23:12:18 pooka Exp $   */
+/*     $NetBSD: vm.c,v 1.170 2016/07/20 17:03:50 christos Exp $        */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.169 2016/01/26 23:12:18 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.170 2016/07/20 17:03:50 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -781,6 +781,12 @@
                rumpuser_free((void *)vaddr, size);
 }
 
+int
+uvm_km_protect(struct vm_map *map, vaddr_t vaddr, vsize_t size, vm_prot_t prot)
+{
+       return 0;
+}
+
 struct vm_map *
 uvm_km_suballoc(struct vm_map *map, vaddr_t *minaddr, vaddr_t *maxaddr,
        vsize_t size, int pageable, bool fixed, struct vm_map *submap)



Home | Main Index | Thread Index | Old Index