Module Name:    src
Committed By:   maya
Date:           Mon Oct 29 19:43:17 UTC 2018

Modified Files:
        src/sys/arch/amd64/include: vmparam.h

Log Message:
Make VM_MIN_KERNEL_ADDRESS and others available in the _KMEMUSER case
as well. This affects ddb. Tested by htodd.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amd64/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/amd64/include/vmparam.h
diff -u src/sys/arch/amd64/include/vmparam.h:1.48 src/sys/arch/amd64/include/vmparam.h:1.49
--- src/sys/arch/amd64/include/vmparam.h:1.48	Sun Oct 28 14:12:16 2018
+++ src/sys/arch/amd64/include/vmparam.h	Mon Oct 29 19:43:16 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.48 2018/10/28 14:12:16 maxv Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.49 2018/10/29 19:43:16 maya Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -133,7 +133,7 @@
 #define VM_MAX_KERNEL_ADDRESS_DEFAULT	0xffffc00000000000
 #endif
 
-#ifdef _KERNEL
+#if defined(_KMEMUSER) || defined(_KERNEL)
 extern vaddr_t vm_min_kernel_address;
 extern vaddr_t vm_max_kernel_address;
 #define VM_MIN_KERNEL_ADDRESS	vm_min_kernel_address

Reply via email to