Re: git: e66390736613 - main - Define _NPCM and the last PC_FREEn constant in terms of _NPCPV.
Date: Fri, 26 Aug 2022 18:10:49 UTC
On 8/23/22 1:31 PM, John Baldwin wrote: > The branch main has been updated by jhb: > > URL: https://cgit.FreeBSD.org/src/commit/?id=e66390736613a452238531f64bb9f674ebd4c3a6 > > commit e66390736613a452238531f64bb9f674ebd4c3a6 > Author: John Baldwin <jhb@FreeBSD.org> > AuthorDate: 2022-08-23 20:31:02 +0000 > Commit: John Baldwin <jhb@FreeBSD.org> > CommitDate: 2022-08-23 20:31:02 +0000 > > Define _NPCM and the last PC_FREEn constant in terms of _NPCPV. > > This applies one of the changes from > 5567d6b4419b02a2099527228b1a51cc55a5b47d to other architectures > besides arm64. > > Reviewed by: kib > Sponsored by: DARPA > Differential Revision: https://reviews.freebsd.org/D36263 So this actually broke emulators/qemu because <machine/pmap.h> now requires <sys/param.h>. I have a patch to fix the port available at https://reviews.freebsd.org/D36362. What I don't know is if there are other ports broken by this that might change how to address this? I would mostly hope that <machine/pmap.h> wouldn't be a header that userland would need to use and that adding <sys/param.h> in a few places would be the end of it. However, if there's wider-spread breakage then I would hack on this to avoid the need for <sys/param.h>. -- John Baldwin