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 define VM_KERNEL_IO_SIZE for clarity



details:   https://anonhg.NetBSD.org/src/rev/66a1c4a17c59
branches:  trunk
changeset: 433420:66a1c4a17c59
user:      ryo <ryo%NetBSD.org@localhost>
date:      Fri Sep 14 05:37:42 2018 +0000

description:
define VM_KERNEL_IO_SIZE for clarity

diffstat:

 sys/arch/aarch64/include/vmparam.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 77566f5fa9fe -r 66a1c4a17c59 sys/arch/aarch64/include/vmparam.h
--- a/sys/arch/aarch64/include/vmparam.h        Fri Sep 14 05:33:50 2018 +0000
+++ b/sys/arch/aarch64/include/vmparam.h        Fri Sep 14 05:37:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.5 2018/09/07 17:21:38 jmcneill Exp $ */
+/* $NetBSD: vmparam.h,v 1.6 2018/09/14 05:37:42 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -131,6 +131,7 @@
  * see also aarch64/pmap.c:pmap_devmap_*
  */
 #define VM_KERNEL_IO_ADDRESS   0xfffffffff0000000L
+#define VM_KERNEL_IO_SIZE      (VM_MAX_KERNEL_ADDRESS - VM_KERNEL_IO_ADDRESS)
 
 /* virtual sizes (bytes) for various kernel submaps */
 #define USRIOSIZE              (PAGE_SIZE / 8)



Home | Main Index | Thread Index | Old Index