Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Make VM_MIN_KERNEL_ADDRESS and others...
details: https://anonhg.NetBSD.org/src/rev/17d7817c1c22
branches: trunk
changeset: 445441:17d7817c1c22
user: maya <maya%NetBSD.org@localhost>
date: Mon Oct 29 19:43:16 2018 +0000
description:
Make VM_MIN_KERNEL_ADDRESS and others available in the _KMEMUSER case
as well. This affects ddb. Tested by htodd.
diffstat:
sys/arch/amd64/include/vmparam.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f4eec01dc0a5 -r 17d7817c1c22 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h Mon Oct 29 15:37:45 2018 +0000
+++ b/sys/arch/amd64/include/vmparam.h Mon Oct 29 19:43:16 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index