18 #include <linux/kernel.h>
19 #include <linux/sched.h>
22 #include <linux/errno.h>
23 #include <linux/ptrace.h>
25 #include <linux/signal.h>
27 #include <asm/uaccess.h>
29 #include <asm/pgtable.h>
30 #include <asm/processor.h>
31 #include <asm/signal.h>
53 unsigned long addr,
unsigned long data)
56 int regno = addr >> 2;
57 unsigned long __user *datap = (
unsigned long __user *) data;
62 unsigned long tmp = 0;
64 if ((addr & 3) || addr >=
sizeof(
struct user)) {
71 if (regno < H8300_REGS_NO)
76 tmp = child->
mm->start_code;
79 tmp = child->
mm->start_data;
82 tmp = child->
mm->end_code;
85 tmp = child->
mm->end_data;
98 if ((addr & 3) || addr >=
sizeof(
struct user)) {
107 if (regno < H8300_REGS_NO) {
117 for (i = 0; i < H8300_REGS_NO; i++) {
132 for (i = 0; i < H8300_REGS_NO; i++) {