Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Sprinkle "#include <machine/pmap_private.h>", kerne...



details:   https://anonhg.NetBSD.org/src/rev/1df271e85748
branches:  trunk
changeset: 369587:1df271e85748
user:      hannken <hannken%NetBSD.org@localhost>
date:      Mon Aug 22 13:57:24 2022 +0000

description:
Sprinkle "#include <machine/pmap_private.h>", kernel ALL/amd64
compiles again.

diffstat:

 sys/arch/amd64/include/asan.h   |  4 +++-
 sys/arch/x86/x86/kgdb_machdep.c |  5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r f6244bc78a77 -r 1df271e85748 sys/arch/amd64/include/asan.h
--- a/sys/arch/amd64/include/asan.h     Mon Aug 22 13:22:10 2022 +0000
+++ b/sys/arch/amd64/include/asan.h     Mon Aug 22 13:57:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.10 2022/08/20 23:15:36 riastradh Exp $      */
+/*     $NetBSD: asan.h,v 1.11 2022/08/22 13:57:24 hannken Exp $        */
 
 /*
  * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -37,6 +37,8 @@
 
 #include <x86/bootspace.h>
 
+#include <machine/pmap_private.h>
+
 #ifdef __HAVE_PCPU_AREA
 #error "PCPU area not allowed with KASAN"
 #endif
diff -r f6244bc78a77 -r 1df271e85748 sys/arch/x86/x86/kgdb_machdep.c
--- a/sys/arch/x86/x86/kgdb_machdep.c   Mon Aug 22 13:22:10 2022 +0000
+++ b/sys/arch/x86/x86/kgdb_machdep.c   Mon Aug 22 13:57:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_machdep.c,v 1.5 2019/04/21 06:37:21 maxv Exp $    */
+/*     $NetBSD: kgdb_machdep.c,v 1.6 2022/08/22 13:57:24 hannken Exp $ */
 
 /*
  * Copyright (c) 1997, 2017 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_machdep.c,v 1.5 2019/04/21 06:37:21 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_machdep.c,v 1.6 2022/08/22 13:57:24 hannken Exp $");
 
 #include "opt_ddb.h"
 
@@ -70,6 +70,7 @@
 #include <sys/kgdb.h>
 #include <sys/systm.h>
 
+#include <machine/pmap_private.h>
 #include <machine/pte.h>
 #include <machine/trap.h>
 



Home | Main Index | Thread Index | Old Index