From: aoyama Date: Sun, 12 Feb 2023 07:02:43 +0000 (+0000) Subject: m88k also needs to define PMAP_CHECK_COPYIN as 1. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6ee24a5220c5c9d3705bbaad88f90be03e452378;p=openbsd m88k also needs to define PMAP_CHECK_COPYIN as 1. "this makes sense" miod@ --- diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h index 3f35640563a..216f11c8934 100644 --- a/sys/arch/m88k/include/pmap.h +++ b/sys/arch/m88k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.27 2022/09/10 20:35:28 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.28 2023/02/12 07:02:43 aoyama Exp $ */ /* * Mach Operating System * Copyright (c) 1991 Carnegie Mellon University @@ -78,6 +78,9 @@ int pmap_translation_info(pmap_t, vaddr_t, paddr_t *, uint32_t *); #define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg)) #define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va) + +#define PMAP_CHECK_COPYIN 1 + #define __HAVE_PMAP_DIRECT #define PMAP_STEAL_MEMORY #define __HAVE_PMAP_COLLECT