Module Name: src Committed By: riastradh Date: Sat Aug 20 23:08:54 UTC 2022
Modified Files: src/sys/uvm: uvm_pmap.h Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/uvm/uvm_pmap.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/uvm/uvm_pmap.h diff -u src/sys/uvm/uvm_pmap.h:1.42 src/sys/uvm/uvm_pmap.h:1.43 --- src/sys/uvm/uvm_pmap.h:1.42 Wed Feb 16 20:13:58 2022 +++ src/sys/uvm/uvm_pmap.h Sat Aug 20 23:08:53 2022 @@ -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;