Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/riscv Fix RV builds
details: https://anonhg.NetBSD.org/src/rev/8499ec902ab4
branches: trunk
changeset: 372733:8499ec902ab4
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Dec 23 10:44:25 2022 +0000
description:
Fix RV builds
diffstat:
sys/arch/riscv/include/pmap.h | 3 ++-
sys/arch/riscv/riscv/pmap_machdep.c | 10 ++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r 7c12219936ce -r 8499ec902ab4 sys/arch/riscv/include/pmap.h
--- a/sys/arch/riscv/include/pmap.h Thu Dec 22 23:06:11 2022 +0000
+++ b/sys/arch/riscv/include/pmap.h Fri Dec 23 10:44:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.13 2022/10/20 07:18:11 skrll Exp $ */
+/* $NetBSD: pmap.h,v 1.14 2022/12/23 10:44:25 skrll Exp $ */
/*
* Copyright (c) 2014, 2019, 2021 The NetBSD Foundation, Inc.
@@ -134,6 +134,7 @@
void pmap_md_xtab_activate(struct pmap *, struct lwp *);
void pmap_md_xtab_deactivate(struct pmap *);
void pmap_md_pdetab_init(struct pmap *);
+void pmap_md_pdetab_fini(struct pmap *);
bool pmap_md_ok_to_steal_p(const uvm_physseg_t, size_t);
void pmap_bootstrap(vaddr_t kstart, vaddr_t kend);
diff -r 7c12219936ce -r 8499ec902ab4 sys/arch/riscv/riscv/pmap_machdep.c
--- a/sys/arch/riscv/riscv/pmap_machdep.c Thu Dec 22 23:06:11 2022 +0000
+++ b/sys/arch/riscv/riscv/pmap_machdep.c Fri Dec 23 10:44:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_machdep.c,v 1.14 2022/11/15 14:33:33 simonb Exp $ */
+/* $NetBSD: pmap_machdep.c,v 1.15 2022/12/23 10:44:25 skrll Exp $ */
/*
* Copyright (c) 2014, 2019, 2021 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#define __PMAP_PRIVATE
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pmap_machdep.c,v 1.14 2022/11/15 14:33:33 simonb Exp $");
+__RCSID("$NetBSD: pmap_machdep.c,v 1.15 2022/12/23 10:44:25 skrll Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -190,6 +190,12 @@
}
void
+pmap_md_pdetab_fini(struct pmap *pmap)
+{
+ KASSERT(pmap != NULL);
+}
+
+void
pmap_bootstrap(vaddr_t vstart, vaddr_t vend)
{
extern pd_entry_t l1_pte[512];
Home |
Main Index |
Thread Index |
Old Index