artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454ecbe
)
m88k also needs to define PMAP_CHECK_COPYIN as 1.
author
aoyama
<aoyama@openbsd.org>
Sun, 12 Feb 2023 07:02:43 +0000
(07:02 +0000)
committer
aoyama
<aoyama@openbsd.org>
Sun, 12 Feb 2023 07:02:43 +0000
(07:02 +0000)
"this makes sense" miod@
sys/arch/m88k/include/pmap.h
patch
|
blob
|
history
diff --git
a/sys/arch/m88k/include/pmap.h
b/sys/arch/m88k/include/pmap.h
index
3f35640
..
216f11c
100644
(file)
--- a/
sys/arch/m88k/include/pmap.h
+++ b/
sys/arch/m88k/include/pmap.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: pmap.h,v 1.2
7 2022/09/10 20:35:28 miod Exp $
*/
+/* $OpenBSD: pmap.h,v 1.2
8 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