Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Add some MPC745x L3CR cache definit...



details:   https://anonhg.NetBSD.org/src/rev/4c0675d15522
branches:  trunk
changeset: 524960:4c0675d15522
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 03 00:12:41 2002 +0000

description:
Add some MPC745x L3CR cache definitions.

diffstat:

 sys/arch/powerpc/include/spr.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r a454943c9bf2 -r 4c0675d15522 sys/arch/powerpc/include/spr.h
--- a/sys/arch/powerpc/include/spr.h    Wed Apr 03 00:12:07 2002 +0000
+++ b/sys/arch/powerpc/include/spr.h    Wed Apr 03 00:12:41 2002 +0000
@@ -290,6 +290,9 @@
 #define   L2CR_L2BYP             0x00002000 /* 18: L2 DLL bypass. */
 #define   L2CR_L2IP              0x00000001 /* 31: L2 global invalidate in */
                                             /*     progress (read only). */
+#define        SPR_L3CR                0x3fa   /* .6. L3 Control Register */
+#define   L3CR_L3E               0x80000000 /*  0: L3 enable */
+#define   L3CR_L3SIZ             0x10000000 /*  3: L3 size (0=1MB, 1=2MB) */
 #define        SPR_DCCR                0x3fa   /* 4.. Data Cache Cachability Register */
 #define        SPR_ICCR                0x3fb   /* 4.. Instruction Cache Cachability Register */
 #define        SPR_THRM1               0x3fc   /* .6. Thermal Management Register */



Home | Main Index | Thread Index | Old Index