freebsd-skq/lib/libmemstat
Justin Hibbits 4026b44790 Fix buildworld for powerpc.
vmpage requires struct pmap to exist and contain a pm_stats field.  As of
r308817, either AIM or BOOKE is required to be set in order to get their
respective pmap structs.  Rather than expose them both, or try to unify them
unnecessarily, add a third option which contains only a pm_stats field, and
change the two existing pmap structures to place the common fields at the
beginning of the struct.  This actually fixes the stats collection by libkvm on
AIM hardware, because before it was accessing a possibly different offset, which
would cause it to read garbage.

Bump __FreeBSD_version to denote this ABI change, so that ports which depend on
libkvm can be rebuilt.
2016-11-20 06:10:12 +00:00
..
libmemstat.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
Makefile First pass through library packaging. 2016-02-04 21:16:35 +00:00
Makefile.depend META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
memstat_all.c
memstat_internal.h Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
memstat_malloc.c
memstat_uma.c Fix buildworld for powerpc. 2016-11-20 06:10:12 +00:00
memstat.c Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
memstat.h Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00