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/x86 rump/x86: Add stubs for p...



details:   https://anonhg.NetBSD.org/src/rev/f2ecd168b342
branches:  trunk
changeset: 369552:f2ecd168b342
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 21 12:08:12 2022 +0000

description:
rump/x86: Add stubs for pmap_resident_count, pmap_wired_count.

These are no longer static inlines, now that struct pmap is private.

diffstat:

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

diffs (36 lines):

diff -r 2b16ec032635 -r f2ecd168b342 sys/rump/librump/rumpkern/arch/x86/rump_x86_pmap.c
--- a/sys/rump/librump/rumpkern/arch/x86/rump_x86_pmap.c        Sun Aug 21 10:30:54 2022 +0000
+++ b/sys/rump/librump/rumpkern/arch/x86/rump_x86_pmap.c        Sun Aug 21 12:08:12 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_x86_pmap.c,v 1.4 2016/01/26 23:12:18 pooka Exp $  */
+/*     $NetBSD: rump_x86_pmap.c,v 1.5 2022/08/21 12:08:12 riastradh Exp $      */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_x86_pmap.c,v 1.4 2016/01/26 23:12:18 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_x86_pmap.c,v 1.5 2022/08/21 12:08:12 riastradh Exp $");
 
 #include <sys/param.h>
 
@@ -107,3 +107,17 @@
 pmap_write_protect(pmap_t pmap, vaddr_t sva, vaddr_t eva, vm_prot_t prot)
 {
 }
+
+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