linux/arch
Rik van Riel 28b2ee20c7 access_process_vm device memory infrastructure
In order to be able to debug things like the X server and programs using
the PPC Cell SPUs, the debugger needs to be able to access device memory
through ptrace and /proc/pid/mem.

This patch:

Add the generic_access_phys access function and put the hooks in place
to allow access_process_vm to access device or PPC Cell SPU memory.

[riel@redhat.com: Add documentation for the vm_ops->access function]
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Benjamin Herrensmidt <benh@kernel.crashing.org>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:15 -07:00
..
alpha mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
arm mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
avr32 add HAVE_CLK to Kconfig, for driver dependencies 2008-07-24 10:47:13 -07:00
blackfin remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
cris Merge branch 'for-linus' of git://www.jni.nu/cris 2008-07-20 17:37:46 -07:00
frv PCI: remove unused arch pcibios_update_resource() functions 2008-06-27 13:14:01 -07:00
h8300
ia64 mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m32r mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m68k mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m68knommu Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
mips mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
mn10300 MN10300: Fix MN10300's serial port driver to get at its tty_struct 2008-07-20 17:12:35 -07:00
parisc mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
powerpc mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
s390 sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
sh mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
sparc sparc32: pass -m32 when building vmlinux.lds 2008-07-22 15:47:17 -07:00
sparc64 mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
um UML - Fix boot crash 2008-07-23 09:36:56 -07:00
v850
x86 access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00
xtensa remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
.gitignore
Kconfig access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00