Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch G/C pmap_md_kernel_*
details: https://anonhg.NetBSD.org/src/rev/bcfb5a93bb0c
branches: trunk
changeset: 378203:bcfb5a93bb0c
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jul 26 06:58:34 2023 +0000
description:
G/C pmap_md_kernel_*
diffstat:
sys/arch/aarch64/include/pmap_machdep.h | 4 +---
sys/arch/riscv/include/pmap.h | 16 +---------------
2 files changed, 2 insertions(+), 18 deletions(-)
diffs (48 lines):
diff -r 79a94108c3ab -r bcfb5a93bb0c sys/arch/aarch64/include/pmap_machdep.h
--- a/sys/arch/aarch64/include/pmap_machdep.h Wed Jul 26 06:47:38 2023 +0000
+++ b/sys/arch/aarch64/include/pmap_machdep.h Wed Jul 26 06:58:34 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_machdep.h,v 1.6 2023/07/26 06:47:38 skrll Exp $ */
+/* $NetBSD: pmap_machdep.h,v 1.7 2023/07/26 06:58:34 skrll Exp $ */
/*-
* Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -101,8 +101,6 @@ paddr_t pmap_md_unmap_poolpage(vaddr_t,
struct vm_page *
pmap_md_alloc_poolpage(int);
-bool pmap_md_kernel_vaddr_p(vaddr_t);
-paddr_t pmap_md_kernel_vaddr_to_paddr(vaddr_t);
bool pmap_md_direct_mapped_vaddr_p(vaddr_t);
paddr_t pmap_md_direct_mapped_vaddr_to_paddr(vaddr_t);
vaddr_t pmap_md_direct_map_paddr(paddr_t);
diff -r 79a94108c3ab -r bcfb5a93bb0c sys/arch/riscv/include/pmap.h
--- a/sys/arch/riscv/include/pmap.h Wed Jul 26 06:47:38 2023 +0000
+++ b/sys/arch/riscv/include/pmap.h Wed Jul 26 06:58:34 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.18 2023/06/12 19:04:14 skrll Exp $ */
+/* $NetBSD: pmap.h,v 1.19 2023/07/26 06:58:34 skrll Exp $ */
/*
* Copyright (c) 2014, 2019, 2021 The NetBSD Foundation, Inc.
@@ -227,20 +227,6 @@ pmap_md_nptep(pt_entry_t *ptep)
return ptep + 1;
}
-static inline bool
-pmap_md_kernel_vaddr_p(vaddr_t va)
-{
- return false;
-}
-
-static inline paddr_t
-pmap_md_kernel_vaddr_to_paddr(vaddr_t vax)
-{
- /* Not used due to false from pmap_md_kernel_vaddr_p */
-
- return 0;
-}
-
#endif /* __PMAP_PRIVATE */
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index