summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-11 19:50:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-11 19:50:31 +0000
commit2c14b365917c678b47d96b73b76191d9639b519a (patch)
tree10b958e8c5a49788c09c9d1c680e8bee644bb863 /sys/arch/aviion/include
parent0337948d4a7971a374d0d53341960b25cda6116a (diff)
Fix stupid bugs in mapping and unmapping of VME regions.
Diffstat (limited to 'sys/arch/aviion/include')
-rw-r--r--sys/arch/aviion/include/av400.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/aviion/include/av400.h b/sys/arch/aviion/include/av400.h
index dd654b4a602..9a2487671c9 100644
--- a/sys/arch/aviion/include/av400.h
+++ b/sys/arch/aviion/include/av400.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: av400.h,v 1.1 2006/05/09 18:23:59 miod Exp $ */
+/* $OpenBSD: av400.h,v 1.2 2006/05/11 19:50:30 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* All rights reserved.
@@ -58,14 +58,17 @@
* AV400 VME mappings
*/
+#define AV400_VME32_BASE 0x00000000
#define AV400_VME32_START1 0x10000000
#define AV400_VME32_END1 0x7fffffff
#define AV400_VME32_START2 0x90000000
#define AV400_VME32_END2 0xfdffffff
-#define AV400_VME24_START 0xfe000000
-#define AV400_VME24_END 0xfeffffff
-#define AV400_VME16_START 0xffff0000
-#define AV400_VME16_END 0xffffffff
+#define AV400_VME24_BASE 0xfe000000
+#define AV400_VME24_START 0x00000000
+#define AV400_VME24_END 0x00ffffff
+#define AV400_VME16_BASE 0xffff0000
+#define AV400_VME16_START 0x00000000
+#define AV400_VME16_END 0x0000ffff
#define AV400_ISVMEA32(addr) \
(((addr) >= AV400_VME32_START1 && (addr) < AV400_VME32_END1 + 1U) || \