[Cbe-oss-dev] [PATCH 1/2] Add support for stopping spus from xmon
Michael Ellerman
michael at ellerman.id.au
Wed Oct 18 17:13:46 EST 2006
On Thu, 2006-10-12 at 11:18 -0500, Linas Vepstas wrote:
> On Thu, Oct 12, 2006 at 10:03:08PM +1000, Michael Ellerman wrote:
> >
> > arch/powerpc/platforms/cell/spu_base.c | 4
> > arch/powerpc/xmon/xmon.c | 142 ++++++++++++++++++++++++++++++++-
> > include/asm-powerpc/xmon.h | 2
> > 3 files changed, 146 insertions(+), 2 deletions(-)
>
> The next patch adds another 60 lines to xmon.c, which
> is already a bit too big. Perhaps you could instead
> put this code in "xmon/cell.c" or something like that?
I did originally, but that requires exporting several globals from
xmon.c, which struck me as even less pleasant.
I looked at some way of wrapping the if(setjmp) .. logic into a
function, but I couldn't come up with anything neat in the little time I
had.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20061018/e71ad649/attachment.pgp>
More information about the cbe-oss-dev
mailing list