freebsd-skq/sys/powerpc/include
glebius 21ead51d79 - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter
in place.  To do per-cpu stats, convert all fields that previously were
  maintained in the vmmeters that sit in pcpus to counter(9).
- Since some vmmeter stats may be touched at very early stages of boot,
  before we have set up UMA and we can do counter_u64_alloc(), provide an
  early counter mechanism:
  o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter.
  o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter,
    so that at early stages of boot, before counters are allocated we already
    point to a counter that can be safely written to.
  o For sparc64 that required a whole dummy pcpu[MAXCPU] array.

Further related changes:
- Don't include vmmeter.h into pcpu.h.
- vm.stats.vm.v_swappgsout and vm.stats.vm.v_swappgsin changed to 64-bit,
  to match kernel representation.
- struct vmmeter hidden under _KERNEL, and only vmstat(1) is an exclusion.

This is based on benno@'s 4-year old patch:
https://lists.freebsd.org/pipermail/freebsd-arch/2013-July/014471.html

Reviewed by:	kib, gallatin, marius, lidl
Differential Revision:	https://reviews.freebsd.org/D10156
2017-04-17 17:34:47 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
_stdint.h
_types.h Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
altivec.h
asm.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
atomic.h Don't retry a lost reservation in atomic_fcmpset() 2017-01-31 03:40:13 +00:00
bat.h
bus_dma.h Revert r303890 for now here as camdd fails to build on powerpc* 2016-08-11 15:06:12 +00:00
bus.h Increase booke bus max address to 36-bits. 2016-03-18 01:30:58 +00:00
clock.h
counter.h - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
cpu.h Add the SPE feature mask for e500v1 and e500v2 2016-10-29 01:24:30 +00:00
cpufunc.h Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
db_machdep.h Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
dbdma.h
dump.h
efi.h Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
elf.h
endian.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
exec.h
float.h
floatingpoint.h
fpu.h
frame.h Hide the 'MOREARGS' macro, it conflicts with contrib code, and is only used in one file. 2017-01-22 06:30:55 +00:00
gdb_machdep.h
hid.h Set EN_MAS7_UPDATE HID0 bit for e500 core. 2016-08-07 19:09:56 +00:00
ieee.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ieeefp.h
in_cksum.h
intr_machdep.h Add support for the Freescale dTSEC DPAA-based ethernet controller. 2016-02-29 03:38:00 +00:00
kdb.h
limits.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
machdep.h Remove booke_enable_l3_cache declaration and remaining definition. 2016-07-17 19:24:28 +00:00
md_var.h
memdev.h
metadata.h
mmuvar.h
ofw_machdep.h
openpicreg.h
openpicvar.h
param.h Create a new MACHINE_ARCH for Freescale PowerPC e500v2 2016-10-22 01:57:15 +00:00
pcb.h Use setjmp() instead of the identical-except-for-having-a-wrong-prototype 2016-01-10 16:42:14 +00:00
pcpu.h - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
pio.h
platform.h
platformvar.h
pmap.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
pmc_mdep.h
proc.h
profile.h
psl.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
pte.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
ptrace.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
reg.h Restore the ABI of 'struct fpreg' on powerpc. 2016-02-01 23:12:04 +00:00
reloc.h
resource.h
rtas.h
runq.h
sc_machdep.h
setjmp.h Use setjmp() instead of the identical-except-for-having-a-wrong-prototype 2016-01-10 16:42:14 +00:00
sigframe.h
signal.h
slb.h
smp.h
spr.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
sr.h
stack.h
stdarg.h
sysarch.h
tlb.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
trap.h Unbreak kernel breakpoints, broken for ~4 years now 2017-02-28 04:13:20 +00:00
ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
varargs.h
vdso.h
vm.h
vmparam.h Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00