summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-06 22:33:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-06 22:33:19 +0000
commit1ca00c89abd857c8f5360715c9ce33ee144d5085 (patch)
tree19400e95d6eefdd58bd8f791125fda562d868129
parent69195b7f5370a1f5b5fdcddc07b8768a0e688eaf (diff)
MACHINE_UPTBASE is not constant on amiga, ouch.
-rw-r--r--sys/arch/amiga/include/pte.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amiga/include/pte.h b/sys/arch/amiga/include/pte.h
index 0b8d17fcae0..9a6d5d146a8 100644
--- a/sys/arch/amiga/include/pte.h
+++ b/sys/arch/amiga/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.3 2001/11/30 23:20:09 miod Exp $ */
+/* $OpenBSD: pte.h,v 1.4 2001/12/06 22:33:18 miod Exp $ */
/* $NetBSD: pte.h,v 1.14 1995/09/29 13:52:09 chopps Exp $ */
/*
@@ -65,9 +65,10 @@
* AMIGA_MAX_KPTSIZE the most number of bytes for kpt pages
* AMIGA_MAX_PTSIZE the number of bytes to map everything
*/
+extern vaddr_t amiga_uptbase;
#define AMIGA_MAX_COREUPT 1024
#define AMIGA_UPTSIZE roundup(VM_MAXUSER_ADDRESS / NPTEPG, NBPG)
-#define AMIGA_UPTBASE 0x10000000
+#define AMIGA_UPTBASE amiga_uptbase
#define AMIGA_UPTMAXSIZE \
roundup((AMIGA_MAX_COREUPT * AMIGA_UPTSIZE), NBPG)
#define AMIGA_MAX_KPTSIZE \