Make more KVA available

This commit is contained in:
skrll 2019-01-21 07:49:45 +00:00
parent 6c83fe9640
commit 539eb04e48
1 changed files with 3 additions and 3 deletions

View File

@ -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>
@ -47,12 +47,12 @@ void fdt_add_reserved_memory_range(uint64_t, uint64_t);
#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 */