Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include revert PMAP_DIRECT until tested; re...
details: https://anonhg.NetBSD.org/src/rev/5f438a5508ee
branches: trunk
changeset: 446043:5f438a5508ee
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Nov 21 12:34:21 2018 +0000
description:
revert PMAP_DIRECT until tested; requested by mrg@
diffstat:
sys/arch/aarch64/include/pmap.h | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diffs (26 lines):
diff -r b9b47e294657 -r 5f438a5508ee sys/arch/aarch64/include/pmap.h
--- a/sys/arch/aarch64/include/pmap.h Wed Nov 21 12:19:51 2018 +0000
+++ b/sys/arch/aarch64/include/pmap.h Wed Nov 21 12:34:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.18 2018/11/20 20:53:50 jdolecek Exp $ */
+/* $NetBSD: pmap.h,v 1.19 2018/11/21 12:34:21 jdolecek Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -54,16 +54,6 @@
#ifndef KASAN
#define PMAP_MAP_POOLPAGE(pa) AARCH64_PA_TO_KVA(pa)
#define PMAP_UNMAP_POOLPAGE(va) AARCH64_KVA_TO_PA(va)
-
-#define PMAP_DIRECT
-static __inline int
-pmap_direct_process(paddr_t pa, voff_t pgoff, size_t len,
- int (*process)(void *, size_t, void *), void *arg)
-{
- vaddr_t va = AARCH64_PA_TO_KVA(pa);
-
- return process((void *)(va + pgoff), len, arg);
-}
#endif
struct pmap {
Home |
Main Index |
Thread Index |
Old Index