]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC] Make PPC 970 PMC SPRs the standard ones
authorluporl <luporl@FreeBSD.org>
Thu, 5 Nov 2020 14:15:50 +0000 (14:15 +0000)
committerluporl <luporl@FreeBSD.org>
Thu, 5 Nov 2020 14:15:50 +0000 (14:15 +0000)
commitab781c2ce2c0cdee1819d6898d947d2c923c96bf
tree26adb6ce2714bbcfaaa86e560dea4bf1577f4977
parentdb4a3531f75ba8aef21ee6be1e514120ab64fea2
[PowerPC] Make PPC 970 PMC SPRs the standard ones

And add a _74XX suffix to 74XX SPRs.

This is a preparation for adding support to POWER8/9 PMCs, which have most
SPRs equal to 970 ones.

Reviewed by: jhibbits
Sponsored by: Eldorado Research Institute (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D26532
sys/dev/hwpmc/hwpmc_mpc7xxx.c
sys/dev/hwpmc/hwpmc_ppc970.c
sys/powerpc/include/spr.h
sys/powerpc/powerpc/cpu.c