#ifdef __KERNEL__ struct user_pt_regs #else struct pt_regs #endif
{ unsignedlong gpr[32]; unsignedlong nip; unsignedlong msr; unsignedlong orig_gpr3; /* Used for restarting system calls */ unsignedlong ctr; unsignedlong link; unsignedlong xer; unsignedlong ccr; #ifdef __powerpc64__ unsignedlong softe; /* Soft enabled/disabled */ #else unsignedlong mq; /* 601 only (not used at present) */ /* Used on APUS to hold IPL value. */ #endif unsignedlong trap; /* Reason for being here */ /* N.B. for critical exceptions on 4xx, the dar and dsisr
fields are overloaded to hold srr0 and srr1. */ unsignedlong dar; /* Fault registers */ unsignedlong dsisr; /* on 4xx/Book-E used for ESR */ unsignedlong result; /* Result of a system call */
};
/* Get/set all the upper 32-bits of the SPE registers, accumulator, and
* spefscr, in one go */ #define PTRACE_GETEVRREGS 0x14 #define PTRACE_SETEVRREGS 0x15
/* Get the first 32 128bit VSX registers */ #define PTRACE_GETVSRREGS 0x1b #define PTRACE_SETVSRREGS 0x1c
/* (new) PTRACE requests using the same numbers as x86 and the same *argumentordering.Additionally,theysupportmoreregisterstoo
*/ #define PTRACE_GETREGS 0xc #define PTRACE_SETREGS 0xd #define PTRACE_GETFPREGS 0xe #define PTRACE_SETFPREGS 0xf #define PTRACE_GETREGS64 0x16 #define PTRACE_SETREGS64 0x17
/* Calls to trace a 64bit program from a 32bit program */ #define PPC_PTRACE_PEEKTEXT_3264 0x95 #define PPC_PTRACE_PEEKDATA_3264 0x94 #define PPC_PTRACE_POKETEXT_3264 0x93 #define PPC_PTRACE_POKEDATA_3264 0x92 #define PPC_PTRACE_PEEKUSR_3264 0x91 #define PPC_PTRACE_POKEUSR_3264 0x90
#define PTRACE_SINGLEBLOCK 0x100 /* resume execution until next branch */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.