diff options
author | Olof Johansson <olof@lixom.net> | 2007-01-28 22:25:57 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-06 22:03:19 -0500 |
commit | 6529c13dfe413e437ad1ed0e97783dcf69137114 (patch) | |
tree | 4042f247433dd413a196764d6b3b74f05568d8e3 /include/asm-powerpc/reg.h | |
parent | 7583b6e424ebaa278342f6a8c2a61211af56dad1 (diff) |
[POWERPC] PA6T PMC support
Support for PA6T-style PMC registers.
PMCs are completely implementation-dependent on PPC, and PA6T numbers them
differently from the IBM model.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/reg.h')
-rw-r--r-- | include/asm-powerpc/reg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index a3631b15754c..0279d4ec5211 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h | |||
@@ -462,6 +462,13 @@ | |||
462 | #define SPRN_SIAR 780 | 462 | #define SPRN_SIAR 780 |
463 | #define SPRN_SDAR 781 | 463 | #define SPRN_SDAR 781 |
464 | 464 | ||
465 | #define PA6T_SPRN_PMC0 787 | ||
466 | #define PA6T_SPRN_PMC1 788 | ||
467 | #define PA6T_SPRN_PMC2 789 | ||
468 | #define PA6T_SPRN_PMC3 790 | ||
469 | #define PA6T_SPRN_PMC4 791 | ||
470 | #define PA6T_SPRN_PMC5 792 | ||
471 | |||
465 | #else /* 32-bit */ | 472 | #else /* 32-bit */ |
466 | #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ | 473 | #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ |
467 | #define MMCR0_FC 0x80000000UL /* freeze counters */ | 474 | #define MMCR0_FC 0x80000000UL /* freeze counters */ |