Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_extern.h
Show All 36 Lines | |||||
struct pmap; | struct pmap; | ||||
struct proc; | struct proc; | ||||
struct vmspace; | struct vmspace; | ||||
struct vnode; | struct vnode; | ||||
struct vmem; | struct vmem; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/systm.h> | #include <sys/kassert.h> | ||||
jhb: I would suggest also trying this in vm/vm_page.h which also has a nested include of sys/systm.h? | |||||
Done Inline Actionsvm/vm_page.h inclusion of sys/systm.h was abused at least by vm/vm_pager.h. I changed the later to directly include systm.h. kib: vm/vm_page.h inclusion of sys/systm.h was abused at least by vm/vm_pager.h. I changed the… | |||||
struct cdev; | struct cdev; | ||||
struct cdevsw; | struct cdevsw; | ||||
struct domainset; | struct domainset; | ||||
/* These operate on kernel virtual addresses only. */ | /* These operate on kernel virtual addresses only. */ | ||||
vm_offset_t kva_alloc(vm_size_t); | vm_offset_t kva_alloc(vm_size_t); | ||||
void kva_free(vm_offset_t, vm_size_t); | void kva_free(vm_offset_t, vm_size_t); | ||||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |
I would suggest also trying this in vm/vm_page.h which also has a nested include of sys/systm.h?