Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include Add some definitions for building R...
details: https://anonhg.NetBSD.org/src/rev/8528bc78da10
branches: trunk
changeset: 331481:8528bc78da10
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 11 22:08:34 2014 +0000
description:
Add some definitions for building RUMP libraries with MKCOMPAT.
diffstat:
sys/arch/aarch64/include/vmparam.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r d2dee4777a08 -r 8528bc78da10 sys/arch/aarch64/include/vmparam.h
--- a/sys/arch/aarch64/include/vmparam.h Mon Aug 11 22:03:25 2014 +0000
+++ b/sys/arch/aarch64/include/vmparam.h Mon Aug 11 22:08:34 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.1 2014/08/10 05:47:38 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.2 2014/08/11 22:08:34 matt Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -134,6 +134,15 @@
#elif defined(__arm__)
+// These exist for building the RUMP libraries with MKCOMPAT
+
+#define KERNEL_BASE 0x80000000
+#define PGSHIFT 12
+#define NBPG (1 << PGSHIFT)
+#define VM_PHYSSEG_MAX 1
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
#include <arm/vmparam.h>
#endif /* __aarch64__/__arm__ */
Home |
Main Index |
Thread Index |
Old Index