Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include i386/vmparam.h: Need some constants fr...



details:   https://anonhg.NetBSD.org/src/rev/1e33ba7e7ab2
branches:  trunk
changeset: 369555:1e33ba7e7ab2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 21 13:15:15 2022 +0000

description:
i386/vmparam.h: Need some constants from i386/pte.h.

These are used by VM_MIN/MAX_KERNEL_ADDRESS.  pte.h is small and
likely stable enough that it's not worthwhile to migrate them to
vmparam.h instead.

diffstat:

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

diffs (18 lines):

diff -r e70b279d844c -r 1e33ba7e7ab2 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h   Sun Aug 21 12:44:16 2022 +0000
+++ b/sys/arch/i386/include/vmparam.h   Sun Aug 21 13:15:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.87 2022/08/20 23:48:50 riastradh Exp $   */
+/*     $NetBSD: vmparam.h,v 1.88 2022/08/21 13:15:15 riastradh Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,6 +39,8 @@
 
 #include <sys/mutex.h>
 
+#include <machine/pte.h>
+
 /*
  * Machine dependent constants for 386.
  */



Home | Main Index | Thread Index | Old Index