linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mfspr r0,638. Why 638 ?
@ 2005-12-03 10:38 zengshuai
  2005-12-03 16:16 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: zengshuai @ 2005-12-03 10:38 UTC (permalink / raw)
  To: ppc

We know "mfspr r0,638" can get the IMMR.
But why?
I checked "MPC82xx Reference Manual","G2 PowerPC™ Core Reference Manual","Programming Environments Manual",
but I didn't find any word about that.How did the person who first known know?

"G2 PowerPC™ Core Reference Manual"  where is the "SPR 638"?
Table 3-33. Implementation-Specific SPR Encodings (mfspr)
Decimal spr[5?9] spr[0?4] RegisterName Access
58 00001 11010 CSRR0  Supervisor
59 00001 11011 CSRR1  Supervisor
276 01000 10100 SPRG4  Supervisor
277 01000 10101 SPRG5  Supervisor
278 01000 10110 SPRG6  Supervisor
279 01000 10111 SPRG7  Supervisor
286 01000 11110 SVR  Supervisor
309 01001 10101 IBCR  Supervisor
310 01001 10110 DBCR  Supervisor
311 01001 10111 MBAR  Supervisor
317 01001 11101 DABR2  Supervisor
560 10001 10000 IBAT4U  Supervisor
561 10001 10001 IBAT4L  Supervisor
562 10001 10010 IBAT5U  Supervisor
563 10001 10011 IBAT5L  Supervisor
564 10001 10100 IBAT6U  Supervisor
565 10001 10101 IBAT6L  Supervisor
566 10001 10110 IBAT7U  Supervisor
567 10001 10111 IBAT7L  Supervisor
568 10001 11000 DBAT4U  Supervisor
569 10001 11001 DBAT4L  Supervisor
570 10001 11010 DBAT5U  Supervisor
571 10001 11011 DBAT5L  Supervisor
572 10001 11100 DBAT6U  Supervisor
573 10001 11101 DBAT6L Supervisor
574 10001 11110 DBAT7U  Supervisor
575 10001 11111 DBAT7L  Supervisor
976 11110 10000 DMISS Supervisor
977 11110 10001 DCMP Supervisor
978 11110 10010 HASH1 Supervisor
979 11110 10011 HASH2 Supervisor
980 11110 10100 IMISS Supervisor
981 11110 10101 ICMP Supervisor
982 11110 10110 RPA Supervisor
1008 11111 10000 HID0 Supervisor
1009 11111 10001 HID1 Supervisor
1010 11111 10010 IABR Supervisor
1011 11111 10011 HID2 Supervisor
1013 11111 10101 DABR  Supervisor
1018 11111 11010 IABR2  Supervisor

------------------------------
我现在使用Sogou.com的2G邮箱了,你也来试试吧! 
http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?from=sogouinvitation&s_EMAIL=zengshuai%40sogou.com&username=linuxppc-embedded&FullName=linuxppc-embedded&Email=linuxppc-embedded%40ozlabs.org&verify=755eff4e640bdcfc57d93cbd8b0a9cb7

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mfspr r0,638. Why 638 ?
  2005-12-03 10:38 mfspr r0,638. Why 638 ? zengshuai
@ 2005-12-03 16:16 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2005-12-03 16:16 UTC (permalink / raw)
  To: zengshuai; +Cc: ppc

This is 8xx (PQ1) SPR.  If you look one of those user manuals you =20
will see it.

- kumar

On Dec 3, 2005, at 4:38 AM, <zengshuai@sogou.com> =20
<zengshuai@sogou.com> wrote:

> We know "mfspr r0,638" can get the IMMR.
> But why?
> I checked "MPC82xx Reference Manual","G2 PowerPC&#8482; Core =20
> Reference Manual","Programming Environments Manual",
> but I didn't find any word about that.How did the person who first =20
> known know?
>
> "G2 PowerPC&#8482; Core Reference Manual"  where is the "SPR 638"?
> Table 3-33. Implementation-Specific SPR Encodings (mfspr)
> Decimal spr[5?9] spr[0?4] RegisterName Access
> 58 00001 11010 CSRR0  Supervisor
> 59 00001 11011 CSRR1  Supervisor
> 276 01000 10100 SPRG4  Supervisor
> 277 01000 10101 SPRG5  Supervisor
> 278 01000 10110 SPRG6  Supervisor
> 279 01000 10111 SPRG7  Supervisor
> 286 01000 11110 SVR  Supervisor
> 309 01001 10101 IBCR  Supervisor
> 310 01001 10110 DBCR  Supervisor
> 311 01001 10111 MBAR  Supervisor
> 317 01001 11101 DABR2  Supervisor
> 560 10001 10000 IBAT4U  Supervisor
> 561 10001 10001 IBAT4L  Supervisor
> 562 10001 10010 IBAT5U  Supervisor
> 563 10001 10011 IBAT5L  Supervisor
> 564 10001 10100 IBAT6U  Supervisor
> 565 10001 10101 IBAT6L  Supervisor
> 566 10001 10110 IBAT7U  Supervisor
> 567 10001 10111 IBAT7L  Supervisor
> 568 10001 11000 DBAT4U  Supervisor
> 569 10001 11001 DBAT4L  Supervisor
> 570 10001 11010 DBAT5U  Supervisor
> 571 10001 11011 DBAT5L  Supervisor
> 572 10001 11100 DBAT6U  Supervisor
> 573 10001 11101 DBAT6L Supervisor
> 574 10001 11110 DBAT7U  Supervisor
> 575 10001 11111 DBAT7L  Supervisor
> 976 11110 10000 DMISS Supervisor
> 977 11110 10001 DCMP Supervisor
> 978 11110 10010 HASH1 Supervisor
> 979 11110 10011 HASH2 Supervisor
> 980 11110 10100 IMISS Supervisor
> 981 11110 10101 ICMP Supervisor
> 982 11110 10110 RPA Supervisor
> 1008 11111 10000 HID0 Supervisor
> 1009 11111 10001 HID1 Supervisor
> 1010 11111 10010 IABR Supervisor
> 1011 11111 10011 HID2 Supervisor
> 1013 11111 10101 DABR  Supervisor
> 1018 11111 11010 IABR2  Supervisor
>
> ------------------------------
> =E6=88=91=E7=8E=B0=E5=9C=A8=E4=BD=BF=E7=94=A8Sogou.com=E7=9A=842G=E9=82=AE=
=E7=AE=B1=E4=BA=86=EF=BC=8C=E4=BD=A0=E4=B9=9F=E6=9D=A5=E8=AF=95=E8=AF=95=E5=
=90=A7!
> http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?=20
> from=3Dsogouinvitation&s_EMAIL=3Dzengshuai%=20
> 40sogou.com&username=3Dlinuxppc-embedded&FullName=3Dlinuxppc-=20
> embedded&Email=3Dlinuxppc-embedded%=20
> 40ozlabs.org&verify=3D755eff4e640bdcfc57d93cbd8b0a9cb7
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-03 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-03 10:38 mfspr r0,638. Why 638 ? zengshuai
2005-12-03 16:16 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).