Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/fdt Make more KVA available
details: https://anonhg.NetBSD.org/src/rev/9135b035f56f
branches: trunk
changeset: 996140:9135b035f56f
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 21 07:49:45 2019 +0000
description:
Make more KVA available
diffstat:
sys/arch/evbarm/fdt/platform.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 2c3c0e70445b -r 9135b035f56f sys/arch/evbarm/fdt/platform.h
--- a/sys/arch/evbarm/fdt/platform.h Mon Jan 21 07:47:30 2019 +0000
+++ b/sys/arch/evbarm/fdt/platform.h Mon Jan 21 07:49:45 2019 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -47,12 +47,12 @@
#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 */
Home |
Main Index |
Thread Index |
Old Index