Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm uvm/uvm_pmap.h: Fix missing types and forward declar...
details: https://anonhg.NetBSD.org/src/rev/9df90f029185
branches: trunk
changeset: 369523:9df90f029185
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Aug 20 23:08:53 2022 +0000
description:
uvm/uvm_pmap.h: Fix missing types and forward declarations.
- Need sys/types.h for vaddr_t, paddr_t, u_int, &c.
- Forward-declare struct vm_page so we don't have to rely on
machine/pmap.h to do so.
diffstat:
sys/uvm/uvm_pmap.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r f809e5b7aa34 -r 9df90f029185 sys/uvm/uvm_pmap.h
--- a/sys/uvm/uvm_pmap.h Sat Aug 20 20:50:41 2022 +0000
+++ b/sys/uvm/uvm_pmap.h Sat Aug 20 23:08:53 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pmap.h,v 1.42 2022/02/16 20:13:58 riastradh Exp $ */
+/* $NetBSD: uvm_pmap.h,v 1.43 2022/08/20 23:08:53 riastradh Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -68,7 +68,12 @@
#ifndef _PMAP_VM_
#define _PMAP_VM_
+#include <sys/types.h>
+
+#include <uvm/uvm_prot.h>
+
struct lwp; /* for pmap_activate()/pmap_deactivate() proto */
+struct vm_page;
struct pmap;
typedef struct pmap *pmap_t;
Home |
Main Index |
Thread Index |
Old Index