Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ptrace.h File Reference

Go to the source code of this file.

Data Structures

struct  pt_regs
 
struct  mips32_watch_regs
 
struct  mips64_watch_regs
 
struct  pt_watch_regs
 

Macros

#define FPR_BASE   32
 
#define PC   64
 
#define CAUSE   65
 
#define BADVADDR   66
 
#define MMHI   67
 
#define MMLO   68
 
#define FPC_CSR   69
 
#define FPC_EIR   70
 
#define DSP_BASE   71 /* 3 more hi / lo register pairs */
 
#define DSP_CONTROL   77
 
#define ACX   78
 
#define PTRACE_GETREGS   12
 
#define PTRACE_SETREGS   13
 
#define PTRACE_GETFPREGS   14
 
#define PTRACE_SETFPREGS   15
 
#define PTRACE_OLDSETOPTIONS   21
 
#define PTRACE_GET_THREAD_AREA   25
 
#define PTRACE_SET_THREAD_AREA   26
 
#define PTRACE_PEEKTEXT_3264   0xc0
 
#define PTRACE_PEEKDATA_3264   0xc1
 
#define PTRACE_POKETEXT_3264   0xc2
 
#define PTRACE_POKEDATA_3264   0xc3
 
#define PTRACE_GET_THREAD_AREA_3264   0xc4
 
#define PTRACE_GET_WATCH_REGS   0xd0
 
#define PTRACE_SET_WATCH_REGS   0xd1
 

Enumerations

enum  pt_watch_style { pt_watch_style_mips32, pt_watch_style_mips64 }
 

Functions

struct pt_regs __attribute__ ((aligned(8)))
 Packet vector entry.
 

Variables

unsigned long regs [32]
 
unsigned long cp0_status
 
unsigned long hi
 
unsigned long lo
 
unsigned long cp0_badvaddr
 
unsigned long cp0_cause
 
unsigned long cp0_epc
 
enum pt_watch_style __attribute__
 
unsigned int watchlo [8]
 
unsigned short watchhi [8]
 
unsigned short watch_masks [8]
 
unsigned int num_valid
 

Macro Definition Documentation

#define ACX   78

Definition at line 23 of file ptrace.h.

#define BADVADDR   66

Definition at line 16 of file ptrace.h.

#define CAUSE   65

Definition at line 15 of file ptrace.h.

#define DSP_BASE   71 /* 3 more hi / lo register pairs */

Definition at line 21 of file ptrace.h.

#define DSP_CONTROL   77

Definition at line 22 of file ptrace.h.

#define FPC_CSR   69

Definition at line 19 of file ptrace.h.

#define FPC_EIR   70

Definition at line 20 of file ptrace.h.

#define FPR_BASE   32

Definition at line 13 of file ptrace.h.

#define MMHI   67

Definition at line 17 of file ptrace.h.

#define MMLO   68

Definition at line 18 of file ptrace.h.

#define PC   64

Definition at line 14 of file ptrace.h.

#define PTRACE_GET_THREAD_AREA   25

Definition at line 67 of file ptrace.h.

#define PTRACE_GET_THREAD_AREA_3264   0xc4

Definition at line 75 of file ptrace.h.

#define PTRACE_GET_WATCH_REGS   0xd0

Definition at line 112 of file ptrace.h.

#define PTRACE_GETFPREGS   14

Definition at line 60 of file ptrace.h.

#define PTRACE_GETREGS   12

Definition at line 58 of file ptrace.h.

#define PTRACE_OLDSETOPTIONS   21

Definition at line 65 of file ptrace.h.

#define PTRACE_PEEKDATA_3264   0xc1

Definition at line 72 of file ptrace.h.

#define PTRACE_PEEKTEXT_3264   0xc0

Definition at line 71 of file ptrace.h.

#define PTRACE_POKEDATA_3264   0xc3

Definition at line 74 of file ptrace.h.

#define PTRACE_POKETEXT_3264   0xc2

Definition at line 73 of file ptrace.h.

#define PTRACE_SET_THREAD_AREA   26

Definition at line 68 of file ptrace.h.

#define PTRACE_SET_WATCH_REGS   0xd1

Definition at line 113 of file ptrace.h.

#define PTRACE_SETFPREGS   15

Definition at line 61 of file ptrace.h.

#define PTRACE_SETREGS   13

Definition at line 59 of file ptrace.h.

Enumeration Type Documentation

Enumerator:
pt_watch_style_mips32 
pt_watch_style_mips64 

Definition at line 78 of file ptrace.h.

Function Documentation

Packet vector entry.

This data structure is used with netio_send_packet_vector() to send multiple packets with one NetIO call. The structure should be initialized by calling netio_pkt_vector_set(), rather than by setting the fields directly.

This structure is guaranteed to be a power of two in size, no bigger than one L2 cache line, and to be aligned modulo its size.

Reserved for use by the user application. When initialized with the netio_set_pkt_vector_entry() function, this field is guaranteed to be visible to readers only after all other fields are already visible. This way it can be used as a valid flag or generation counter.

Low 8 bits of the packet address to send. The high bits are acquired from the 'handle' field.

Number of bytes to transmit.

The raw handle from a netio_pkt_t. If this is NETIO_PKT_HANDLE_NONE, this vector entry will be skipped and no packet will be transmitted.

Definition at line 9 of file extable.c.

Variable Documentation

unsigned long cp0_badvaddr

Definition at line 71 of file ptrace.h.

unsigned long cp0_cause

Definition at line 72 of file ptrace.h.

unsigned long cp0_epc

Definition at line 73 of file ptrace.h.

unsigned long cp0_status

Definition at line 65 of file ptrace.h.

unsigned long hi

Definition at line 66 of file ptrace.h.

macro SAVE_AT set push set noat daddiu LONG_L lo

Definition at line 67 of file ptrace.h.

unsigned int num_valid

Definition at line 107 of file ptrace.h.

unsigned long regs[32]

Definition at line 62 of file ptrace.h.

unsigned short watch_masks

Definition at line 105 of file ptrace.h.

unsigned short watchhi

Definition at line 98 of file ptrace.h.

unsigned long long watchlo

Definition at line 96 of file ptrace.h.