Module Name:    src
Committed By:   skrll
Date:           Mon Jan 21 07:49:45 UTC 2019

Modified Files:
        src/sys/arch/evbarm/fdt: platform.h

Log Message:
Make more KVA available


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/fdt/platform.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/evbarm/fdt/platform.h
diff -u src/sys/arch/evbarm/fdt/platform.h:1.4 src/sys/arch/evbarm/fdt/platform.h:1.5
--- src/sys/arch/evbarm/fdt/platform.h:1.4	Sun Apr  1 04:35:04 2018
+++ src/sys/arch/evbarm/fdt/platform.h	Mon Jan 21 07:49:45 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: platform.h,v 1.4 2018/04/01 04:35:04 ryo Exp $ */
+/* $NetBSD: platform.h,v 1.5 2019/01/21 07:49:45 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <[email protected]>
@@ -47,12 +47,12 @@ void fdt_add_reserved_memory_range(uint6
 
 #ifdef __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define KERNEL_VM_BASE		0xc0000000
-#define KERNEL_VM_SIZE		0x20000000 /* 0x20000000 = 512MB */
 #else
 #define KERNEL_VM_BASE		0x90000000
-#define KERNEL_VM_SIZE		0x50000000 /* 0x50000000 = 1.25GB */
 #endif
 
+#define KERNEL_VM_SIZE		(KERNEL_IO_VBASE - KERNEL_VM_BASE)
+
 #endif /* !__aarch64 */
 
 #endif /* _EVBARM_FDT_PLATFORM_H */

Reply via email to