forked from Imagelibrary/rtems
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to support the IBM PPC405 family. This submission was reviewed by Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did not negatively impact the ppc403 BSPs. The submission and tracking process was captured as PR50. * vectors/align_h.S: Added ppc405 support.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
|
||||
|
||||
This modification is part of the submitted modifications necessary to
|
||||
support the IBM PPC405 family. This submission was reviewed by
|
||||
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
|
||||
not negatively impact the ppc403 BSPs. The submission and tracking
|
||||
process was captured as PR50.
|
||||
* vectors/align_h.S: Added ppc405 support.
|
||||
|
||||
2001-10-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/linkcmds: Added _init and _fini.
|
||||
|
||||
@@ -121,13 +121,13 @@ align_h:
|
||||
stw r8,Open_lr(r1)
|
||||
stw r9,Open_cr(r1)
|
||||
stw r10,Open_ctr(r1)
|
||||
#if defined(ppc403)
|
||||
#if defined(ppc403) || defined(ppc405)
|
||||
mfspr r7, srr2 /* SRR 2 */
|
||||
mfspr r8, srr3 /* SRR 3 */
|
||||
#endif
|
||||
mfspr r9, srr0 /* SRR 0 */
|
||||
mfspr r10, srr1 /* SRR 1 */
|
||||
#if defined(ppc403)
|
||||
#if defined(ppc403) || defined(ppc405)
|
||||
stw r7,Open_srr2(r1)
|
||||
stw r8,Open_srr3(r1)
|
||||
#endif
|
||||
@@ -135,7 +135,7 @@ align_h:
|
||||
stw r10,Open_srr1(r1)
|
||||
|
||||
/* Set up common registers */
|
||||
#if defined(ppc403)
|
||||
#if defined(ppc403) || defined(ppc405)
|
||||
mfspr r5, dear /* DEAR: R5 is data exception address */
|
||||
#endif
|
||||
lwz r9,Open_srr0(r1) /* get faulting instruction */
|
||||
@@ -431,7 +431,7 @@ align_complete:
|
||||
mtlr r25
|
||||
mtctr r26
|
||||
mtcrf 0xFF, r27
|
||||
#if defined(ppc403)
|
||||
#if defined(ppc403) || defined(ppc405)
|
||||
mtspr srr2, r28 /* SRR 2 */
|
||||
mtspr srr3, r29 /* SRR 3 */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user