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

Go to the source code of this file.

Data Structures

struct  pt_regs
 
struct  frv_debug_regs
 
struct  user_int_regs
 
struct  user_fpmedia_regs
 
struct  user_context
 
struct  frv_frame0
 

Macros

#define __OFFSET(X, N)   ((X)+(N)*4)
 
#define __OFFSETC(X, N)   xxxxxxxxxxxxxxxxxxxxxxxx
 
#define REG__STATUS_STEP   0x00000001 /* - reenable single stepping on return */
 
#define REG__STATUS_STEPPED   0x00000002 /* - single step caused exception */
 
#define REG__STATUS_BROKE   0x00000004 /* - BREAK insn caused exception */
 
#define REG__STATUS_SYSC_ENTRY   0x40000000 /* - T on syscall entry (ptrace.c only) */
 
#define REG__STATUS_SYSC_EXIT   0x80000000 /* - T on syscall exit (ptrace.c only) */
 
#define REG_GR(R)   __OFFSET(REG_GR0, (R))
 
#define REG_SP   REG_GR(1)
 
#define REG_FP   REG_GR(2)
 
#define REG_PREV_FRAME   REG_GR(28) /* previous exception frame pointer (old gr28 value) */
 
#define REG_CURR_TASK   REG_GR(29) /* current task */
 
#define __INT_GR(R)   __OFFSET(__INT_GR0, (R))
 
#define __FPMEDIA_FR(R)   __OFFSET(__FPMEDIA_FR0, (R))
 
#define __FPMEDIA_FNER(R)   __OFFSET(__FPMEDIA_FNER0, (R))
 
#define __FPMEDIA_MSR(R)   __OFFSET(__FPMEDIA_MSR0, (R))
 
#define __FPMEDIA_ACC(R)   __OFFSET(__FPMEDIA_ACC0, (R))
 
#define __FPMEDIA_ACCG(R)   __OFFSETC(__FPMEDIA_ACCG0, (R))
 
#define __FPMEDIA_FSR(R)   __OFFSET(__FPMEDIA_FSR0, (R))
 
#define __THREAD_GR(R)   __OFFSET(__THREAD_GR16, (R) - 16)
 

Functions

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

Variables

unsigned long psr
 
unsigned long isr
 
unsigned long ccr
 
unsigned long cccr
 
unsigned long lr
 
unsigned long lcr
 
unsigned long pc
 
unsigned long __status
 
unsigned long syscallno
 
unsigned long orig_gr8
 
unsigned long gner0
 
unsigned long gner1
 
unsigned long long iacc0
 
unsigned long tbr
 
unsigned long sp
 
unsigned long fp
 
unsigned long gr3
 
unsigned long gr4
 
unsigned long gr5
 
unsigned long gr6
 
unsigned long gr7
 
unsigned long gr8
 
unsigned long gr9
 
unsigned long gr10
 
unsigned long gr11
 
unsigned long gr12
 
unsigned long gr13
 
unsigned long gr14
 
unsigned long gr15
 
unsigned long gr16
 
unsigned long gr17
 
unsigned long gr18
 
unsigned long gr19
 
unsigned long gr20
 
unsigned long gr21
 
unsigned long gr22
 
unsigned long gr23
 
unsigned long gr24
 
unsigned long gr25
 
unsigned long gr26
 
unsigned long gr27
 
struct pt_regsnext_frame
 
unsigned long gr29
 
unsigned long gr30
 
unsigned long gr31
 
unsigned long dcr
 
struct user_int_regs __attribute__
 
struct user_int_regs i
 
struct user_fpmedia_regs f
 
voidextension
 
union {
   struct pt_regs   regs
 
   struct user_context   uc
 
}; 
 
struct frv_debug_regs debug
 

Macro Definition Documentation

#define __FPMEDIA_ACC (   R)    __OFFSET(__FPMEDIA_ACC0, (R))

Definition at line 226 of file registers.h.

#define __FPMEDIA_ACCG (   R)    __OFFSETC(__FPMEDIA_ACCG0, (R))

Definition at line 227 of file registers.h.

#define __FPMEDIA_FNER (   R)    __OFFSET(__FPMEDIA_FNER0, (R))

Definition at line 224 of file registers.h.

#define __FPMEDIA_FR (   R)    __OFFSET(__FPMEDIA_FR0, (R))

Definition at line 223 of file registers.h.

#define __FPMEDIA_FSR (   R)    __OFFSET(__FPMEDIA_FSR0, (R))

Definition at line 228 of file registers.h.

#define __FPMEDIA_MSR (   R)    __OFFSET(__FPMEDIA_MSR0, (R))

Definition at line 225 of file registers.h.

#define __INT_GR (   R)    __OFFSET(__INT_GR0, (R))

Definition at line 221 of file registers.h.

#define __OFFSET (   X,
  N 
)    ((X)+(N)*4)

Definition at line 60 of file registers.h.

#define __OFFSETC (   X,
  N 
)    xxxxxxxxxxxxxxxxxxxxxxxx

Definition at line 61 of file registers.h.

#define __THREAD_GR (   R)    __OFFSET(__THREAD_GR16, (R) - 16)

Definition at line 230 of file registers.h.

#define REG__STATUS_BROKE   0x00000004 /* - BREAK insn caused exception */

Definition at line 128 of file registers.h.

#define REG__STATUS_STEP   0x00000001 /* - reenable single stepping on return */

Definition at line 126 of file registers.h.

#define REG__STATUS_STEPPED   0x00000002 /* - single step caused exception */

Definition at line 127 of file registers.h.

#define REG__STATUS_SYSC_ENTRY   0x40000000 /* - T on syscall entry (ptrace.c only) */

Definition at line 129 of file registers.h.

#define REG__STATUS_SYSC_EXIT   0x80000000 /* - T on syscall exit (ptrace.c only) */

Definition at line 130 of file registers.h.

#define REG_CURR_TASK   REG_GR(29) /* current task */

Definition at line 137 of file registers.h.

#define REG_FP   REG_GR(2)

Definition at line 135 of file registers.h.

#define REG_GR (   R)    __OFFSET(REG_GR0, (R))

Definition at line 132 of file registers.h.

#define REG_PREV_FRAME   REG_GR(28) /* previous exception frame pointer (old gr28 value) */

Definition at line 136 of file registers.h.

#define REG_SP   REG_GR(1)

Definition at line 134 of file registers.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

union { ... }
unsigned long __status

Definition at line 130 of file registers.h.

unsigned long cccr

Definition at line 126 of file registers.h.

unsigned long ccr

Definition at line 125 of file registers.h.

unsigned long dcr

Definition at line 153 of file registers.h.

static void debug

Definition at line 223 of file registers.h.

static struct saa7146_extension extension
Initial value:
= {
.name = "hexium HV-PCI6 Orion",
.flags = 0,
.pci_tbl = &pci_tbl[0],
.module = THIS_MODULE,
.probe = hexium_probe,
.attach = hexium_attach,
.detach = hexium_detach,
.irq_mask = 0,
.irq_func = NULL,
}

Definition at line 214 of file registers.h.

Definition at line 209 of file registers.h.

unsigned long fp

Definition at line 138 of file registers.h.

unsigned long gner0

Definition at line 133 of file registers.h.

unsigned long gner1

Definition at line 134 of file registers.h.

unsigned long gr10

Definition at line 146 of file registers.h.

unsigned long gr11

Definition at line 147 of file registers.h.

unsigned long gr12

Definition at line 148 of file registers.h.

unsigned long gr13

Definition at line 149 of file registers.h.

unsigned long gr14

Definition at line 150 of file registers.h.

unsigned long gr15

Definition at line 151 of file registers.h.

unsigned long gr16

Definition at line 152 of file registers.h.

unsigned long gr17

Definition at line 153 of file registers.h.

unsigned long gr18

Definition at line 154 of file registers.h.

unsigned long gr19

Definition at line 155 of file registers.h.

unsigned long gr20

Definition at line 156 of file registers.h.

unsigned long gr21

Definition at line 157 of file registers.h.

unsigned long gr22

Definition at line 158 of file registers.h.

unsigned long gr23

Definition at line 159 of file registers.h.

unsigned long gr24

Definition at line 160 of file registers.h.

unsigned long gr25

Definition at line 161 of file registers.h.

unsigned long gr26

Definition at line 162 of file registers.h.

unsigned long gr27

Definition at line 163 of file registers.h.

unsigned long gr29

Definition at line 165 of file registers.h.

unsigned long gr3

Definition at line 139 of file registers.h.

unsigned long gr30

Definition at line 166 of file registers.h.

unsigned long gr31

Definition at line 167 of file registers.h.

unsigned long gr4

Definition at line 140 of file registers.h.

unsigned long gr5

Definition at line 141 of file registers.h.

unsigned long gr6

Definition at line 142 of file registers.h.

unsigned long gr7

Definition at line 143 of file registers.h.

unsigned long gr8

Definition at line 144 of file registers.h.

unsigned long gr9

Definition at line 145 of file registers.h.

Definition at line 208 of file registers.h.

unsigned long long iacc0

Definition at line 135 of file registers.h.

unsigned long isr

Definition at line 124 of file registers.h.

unsigned long lcr

Definition at line 128 of file registers.h.

unsigned long lr

Definition at line 127 of file registers.h.

struct pt_regs* next_frame

Definition at line 164 of file registers.h.

unsigned long orig_gr8

Definition at line 132 of file registers.h.

unsigned long pc

Definition at line 129 of file registers.h.

unsigned long psr

Definition at line 123 of file registers.h.

Definition at line 219 of file registers.h.

unsigned long sp

Definition at line 137 of file registers.h.

unsigned long syscallno

Definition at line 131 of file registers.h.

unsigned long tbr

Definition at line 136 of file registers.h.

Definition at line 220 of file registers.h.