summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-09-12 09:59:52 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-09-12 09:59:52 +0000
commit0d1699fb50e0925e4bd560d82a89bc9e4a3c839a (patch)
tree3da76fe11275623861afc4867e621e532ca7713a /sys/arch/m68k
parentb486470dbd841a14b3ab0573e3f4039c12b20165 (diff)
provide m68k_page_offset()
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/include/param.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/param.h b/sys/arch/m68k/include/param.h
index 37c1f0b48ea..6f76e898fde 100644
--- a/sys/arch/m68k/include/param.h
+++ b/sys/arch/m68k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.11 2005/07/31 15:31:14 miod Exp $ */
+/* $OpenBSD: param.h,v 1.12 2005/09/12 09:59:51 martin Exp $ */
/* $NetBSD: param.h,v 1.2 1997/06/10 18:21:23 veego Exp $ */
/*
@@ -135,6 +135,7 @@
#define m68k_trunc_seg(x) ((unsigned)(x) & ~SEGOFSET)
#define m68k_round_page(x) ((((unsigned)(x)) + PGOFSET) & ~PGOFSET)
#define m68k_trunc_page(x) ((unsigned)(x) & ~PGOFSET)
+#define m68k_page_offset(x) ((unsigned)(x) & PGOFSET)
#define m68k_btop(x) ((unsigned)(x) >> PGSHIFT)
#define m68k_ptob(x) ((unsigned)(x) << PGSHIFT)