Subject: Re: Build failure for pmap(1)
To: None <email@example.com>
From: Robert Swindells <firstname.lastname@example.org>
Date: 09/12/2002 22:52:23
Hiroyuki Bessho wrote:
>"Chris Gilbert" <email@example.com> writes:
>> I stumbled on this a while back with lsof I think. I think it's tied
>> closely enough to the kernel that it could define _KERNEL (I should really
>> have a look at what it does at some point)
> Why do we need to protect things with #ifdef _KERNEL in
><machine/vmparam.h>? Other ports doesn't have such protection.
> Usual userland programs don't include vmparam.h. So, just
>removing #ifdef _KERNEL from <machine/vmparam.h> seems a good fix to
The bit I can't work out is whether the pmap program uses anything
from struct uvm.
The size of this structure can be different between ports that share
the same MACHINE_ARCH if VM_NFREELIST differs.