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.
This commit is contained in:
parent
f4c6ab5a8c
commit
7cc851291f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue