linux/arch/powerpc/platforms/cell/spufs
Michael Ellerman d464fb4410 [POWERPC] spufs: Write some SPU coredump values as ASCII
Unfortunately GDB expects some of the SPU coredump values to be identical
in format to what is found in spufs. This means we need to dump some of
the values as ASCII strings, not the actual values.

Because we don't know what the values will be, we always print the values
with the format "0x%.16lx", that way we know the result will be 19 bytes.

do_coredump_read() doesn't take a __user buffer, so remove the annotation,
and because we know that it's safe to just snprintf() directly to it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-09-19 15:12:18 +10:00
..
backing_ops.c [POWERPC] spufs: Fix update of mailbox status register during backed wbox write 2007-08-30 16:27:18 +10:00
context.c [POWERPC] spusched: Fix initial timeslice calculation 2007-07-26 16:17:56 +10:00
coredump.c [POWERPC] spufs: Write some SPU coredump values as ASCII 2007-09-19 15:12:18 +10:00
fault.c [CELL] spufs: add spu stats in sysfs and ctx stat file in spufs 2007-07-20 21:41:50 +02:00
file.c [POWERPC] spufs: Write some SPU coredump values as ASCII 2007-09-19 15:12:18 +10:00
gang.c [CELL] cell: add placement computation for scheduling of affinity contexts 2007-07-20 21:42:17 +02:00
hw_ops.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
inode.c [POWERPC] spufs: Make isolated loader properly aligned 2007-09-19 15:12:16 +10:00
lscsa_alloc.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
Makefile [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
run.c [POWERPC] spufs: Make file-internal functions & variables static 2007-09-19 15:12:16 +10:00
sched.c [POWERPC] spufs: Fix race condition on gang->aff_ref_spu 2007-09-19 15:12:16 +10:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [CELL] spufs: change decrementer restore timing 2007-07-20 21:42:03 +02:00
spu_restore.c [CELL] spufs: change decrementer restore timing 2007-07-20 21:42:03 +02:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c [POWERPC] spufs: fix building spufs/spu_save_dump.h 2007-07-03 15:24:44 +10:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [POWERPC] cell: Unify spufs syscall path 2007-09-19 15:12:16 +10:00
switch.c [POWERPC] spufs: Fix restore_decr_wrapped() to match CBE Handbook 2007-09-19 15:12:17 +10:00
syscalls.c [POWERPC] cell: Unify spufs syscall path 2007-09-19 15:12:16 +10:00