]> git.karo-electronics.de Git - linux-beck.git/commit
hw-breakpoints: prepare the code for Hardware Breakpoint interfaces
authorK.Prasad <prasad@linux.vnet.ibm.com>
Mon, 1 Jun 2009 18:13:10 +0000 (23:43 +0530)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 2 Jun 2009 20:46:57 +0000 (22:46 +0200)
commitb332828c39326b1dca617f387dd15d12e81cd5f0
treeb8cff4bd7a5b42a723e26d69cce4f3030bf68e62
parent43bd1236234cacbc18d1476a9b57e7a306efddf5
hw-breakpoints: prepare the code for Hardware Breakpoint interfaces

The generic hardware breakpoint interface provides an abstraction of
hardware breakpoints in front of specific arch implementations for both kernel
and user side breakpoints.
This includes execution breakpoints and read/write breakpoints, also known as
"watchpoints".

This patch introduces header files containing constants, structure definitions
and declaration of functions used by the hardware breakpoint core and x86
specific code.
It also introduces an array based storage for the debug-register values in
'struct thread_struct', while modifying all users of debugreg<n> member in the
structure.

[ Impact: add headers for new hardware breakpoint interface ]

Original-patch-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/include/asm/a.out-core.h
arch/x86/include/asm/debugreg.h
arch/x86/include/asm/hw_breakpoint.h [new file with mode: 0644]
arch/x86/include/asm/processor.h
arch/x86/kernel/process.c
arch/x86/kernel/ptrace.c
arch/x86/power/cpu_32.c
arch/x86/power/cpu_64.c
include/asm-generic/hw_breakpoint.h [new file with mode: 0644]