aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2018-01-19 17:46:31 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2018-01-19 17:46:31 +0000
commit9a8196ce190e6a13ae50849b3384496e7aa57b0c (patch)
tree37d438ae0cb7467f2554251b0722642b637a7008 /sys/mips
parentb3327f62f0cdabe91d36959001a065a1c3eb3d85 (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/include/vmparam.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/mips/include/vmparam.h b/sys/mips/include/vmparam.h
index 7fe6f4fa5d7e..305224dc7b87 100644
--- a/sys/mips/include/vmparam.h
+++ b/sys/mips/include/vmparam.h
@@ -189,6 +189,12 @@
#ifndef __mips_n64
#define SFBUF
#define SFBUF_MAP
+#define PMAP_HAS_DMAP 0
+#else
+#define PMAP_HAS_DMAP 1
#endif
+#define PHYS_TO_DMAP(x) MIPS_PHYS_TO_DIRECT(x)
+#define DMAP_TO_PHYS(x) MIPS_DIRECT_TO_PHYS(x)
+
#endif /* !_MACHINE_VMPARAM_H_ */