Module Name: src
Committed By: matt
Date: Mon Aug 11 22:08:34 UTC 2014
Modified Files:
src/sys/arch/aarch64/include: vmparam.h
Log Message:
Add some definitions for building RUMP libraries with MKCOMPAT.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/include/vmparam.h
diff -u src/sys/arch/aarch64/include/vmparam.h:1.1 src/sys/arch/aarch64/include/vmparam.h:1.2
--- src/sys/arch/aarch64/include/vmparam.h:1.1 Sun Aug 10 05:47:38 2014
+++ src/sys/arch/aarch64/include/vmparam.h Mon Aug 11 22:08:34 2014
@@ -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__ */