commit | d277fb89dfb042deba04a8e765718cc8b3825e85 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Wed Jan 30 13:30:58 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 30 13:30:58 2008 +0100 |
tree | a42aa151708c71094a856ffefc7f6cf566228328 | |
parent | 5fd4d16bd59a9fc84ca94c4fce4abc23fe219108 [diff] |
x86: x86-64 ia32 ptrace get/putreg32 current task This generalizes the getreg32 and putreg32 functions so they can be used on the current task, as well as on a task stopped in TASK_TRACED and switched off. This lays the groundwork to share this code for all kinds of user-mode machine state access, not just ptrace. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>