[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PowerPC context switch question
- Date: Tue, 13 Oct 2009 12:38:07 -0400
- From: dufault at hda.com (Peter Dufault)
- Subject: PowerPC context switch question
What does the stwu/ldzu do for us in _CPU_Context_switch()? I know
what it's doing, I'm interested in knowing why.
I assume it's setting up for the upcoming dcbz, right? Why do we do
the dcbz there? The next instruction won't start pulling that in
anyway? Are there alignment assumptions on the context area?
That sudden switch to "OFFSET-GP_18" had me puzzled for a while.
Peter