summaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2009-12-17 07:36:40 +0000
committerMarius Strobl <marius@FreeBSD.org>2009-12-17 07:36:40 +0000
commite21076e8e20eefac2bf08fd4fd396e4d6f4abc66 (patch)
treeb316e7f6a019f8a6059f3f3953297d35a13be8b6 /sys/i386
parent31c837ef5f69368533bb95a71b9972f900b90ecf (diff)
downloadsrc-test2-e21076e8e20eefac2bf08fd4fd396e4d6f4abc66.tar.gz
src-test2-e21076e8e20eefac2bf08fd4fd396e4d6f4abc66.zip
Notes
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/param.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index eee116e41e96..4a8fc1c16a19 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -73,6 +73,13 @@
#define ALIGNBYTES _ALIGNBYTES
#define ALIGN(p) _ALIGN(p)
+/*
+ * ALIGNED_POINTER is a boolean macro that checks whether an address
+ * is valid to fetch data elements of type t from on this architecture.
+ * This does not reflect the optimal alignment, just the possibility
+ * (within reasonable limits).
+ */
+#define ALIGNED_POINTER(p, t) 1
#define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */
#define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */