From a092a92461df611eb4833949e13deeb99cdaf419 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 31 Dec 2017 08:42:05 +0000 Subject: Tighten the permissions used in the early stage page tables somewhat. Add an interface to establish additional VA=PA 1G block mappings for use by upcoming EFI runtime services support. ok guenther@ --- sys/arch/arm64/include/pmap.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/arch/arm64/include') diff --git a/sys/arch/arm64/include/pmap.h b/sys/arch/arm64/include/pmap.h index 96c1a264e82..e4024d2ef0a 100644 --- a/sys/arch/arm64/include/pmap.h +++ b/sys/arch/arm64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.6 2017/08/27 19:33:02 drahn Exp $ */ +/* $OpenBSD: pmap.h,v 1.7 2017/12/31 08:42:04 kettenis Exp $ */ /* * Copyright (c) 2008,2009,2014 Dale Rahn * @@ -95,9 +95,7 @@ struct pv_entry; #define pmap_unuse_final(p) do { /* nothing */ } while (0) int pmap_fault_fixup(pmap_t, vaddr_t, vm_prot_t, int); void pmap_postinit(void); -void pmap_map_section(vaddr_t, vaddr_t, paddr_t, int, int); -void pmap_map_entry(vaddr_t, vaddr_t, paddr_t, int, int); -vsize_t pmap_map_chunk(vaddr_t, vaddr_t, paddr_t, vsize_t, int, int); +void pmap_map_early(paddr_t, psize_t); #ifndef _LOCORE -- cgit v1.2.3