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/arch/generic Add stubs for pmap_re...



details:   https://anonhg.NetBSD.org/src/rev/6866394bc81c
branches:  trunk
changeset: 369562:6866394bc81c
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Aug 21 16:55:14 2022 +0000

description:
Add stubs for pmap_resident_count, pmap_wired_count.

diffstat:

 sys/rump/librump/rumpkern/arch/generic/rump_generic_pmap.c |  18 ++++++++++++-
 1 files changed, 16 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 2b96304285c4 -r 6866394bc81c sys/rump/librump/rumpkern/arch/generic/rump_generic_pmap.c
--- a/sys/rump/librump/rumpkern/arch/generic/rump_generic_pmap.c        Sun Aug 21 15:01:08 2022 +0000
+++ b/sys/rump/librump/rumpkern/arch/generic/rump_generic_pmap.c        Sun Aug 21 16:55:14 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_generic_pmap.c,v 1.5 2016/01/26 23:12:18 pooka Exp $      */
+/*     $NetBSD: rump_generic_pmap.c,v 1.6 2022/08/21 16:55:14 mlelstv Exp $    */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_generic_pmap.c,v 1.5 2016/01/26 23:12:18 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_generic_pmap.c,v 1.6 2022/08/21 16:55:14 mlelstv Exp $");
 
 #include <sys/param.h>
 
@@ -88,3 +88,17 @@
 
        return false;
 }
+
+long
+pmap_resident_count(struct pmap *pmap)
+
+{
+       return 0;
+}
+
+long
+pmap_wired_count(struct pmap *pmap)
+{
+
+       return 0;
+}



Home | Main Index | Thread Index | Old Index