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

Go to the source code of this file.

Data Structures

struct  unw_info_block
 
struct  unw_table
 
struct  unw_reg_info
 
struct  unw_reg_state
 
struct  unw_labeled_state
 
struct  unw_state_record
 
struct  unw_insn
 
struct  unw_script
 

Macros

#define UNW_VER(x)   ((x) >> 48)
 
#define UNW_FLAG_MASK   0x0000ffff00000000
 
#define UNW_FLAG_OSMASK   0x0000f00000000000
 
#define UNW_FLAG_EHANDLER(x)   ((x) & 0x0000000100000000L)
 
#define UNW_FLAG_UHANDLER(x)   ((x) & 0x0000000200000000L)
 
#define UNW_LENGTH(x)   ((x) & 0x00000000ffffffffL)
 
#define UNW_WHEN_NEVER   0x7fffffff
 
#define UNW_MAX_SCRIPT_LEN   (UNW_NUM_REGS + 5)
 

Enumerations

enum  unw_register_index {
  UNW_REG_PRI_UNAT_GR, UNW_REG_PRI_UNAT_MEM, UNW_REG_BSP, UNW_REG_BSPSTORE,
  UNW_REG_PFS, UNW_REG_RNAT, UNW_REG_PSP, UNW_REG_RP,
  UNW_REG_R4, UNW_REG_R5, UNW_REG_R6, UNW_REG_R7,
  UNW_REG_UNAT, UNW_REG_PR, UNW_REG_LC, UNW_REG_FPSR,
  UNW_REG_B1, UNW_REG_B2, UNW_REG_B3, UNW_REG_B4,
  UNW_REG_B5, UNW_REG_F2, UNW_REG_F3, UNW_REG_F4,
  UNW_REG_F5, UNW_REG_F16, UNW_REG_F17, UNW_REG_F18,
  UNW_REG_F19, UNW_REG_F20, UNW_REG_F21, UNW_REG_F22,
  UNW_REG_F23, UNW_REG_F24, UNW_REG_F25, UNW_REG_F26,
  UNW_REG_F27, UNW_REG_F28, UNW_REG_F29, UNW_REG_F30,
  UNW_REG_F31, UNW_NUM_REGS
}
 
enum  unw_where {
  UNW_WHERE_NONE, UNW_WHERE_GR, UNW_WHERE_FR, UNW_WHERE_BR,
  UNW_WHERE_SPREL, UNW_WHERE_PSPREL, UNW_WHERE_SPILL_HOME, UNW_WHERE_GR_SAVE
}
 
enum  unw_nat_type { UNW_NAT_NONE, UNW_NAT_VAL, UNW_NAT_MEMSTK, UNW_NAT_REGSTK }
 
enum  unw_insn_opcode {
  UNW_INSN_ADD, UNW_INSN_ADD_PSP, UNW_INSN_ADD_SP, UNW_INSN_MOVE,
  UNW_INSN_MOVE2, UNW_INSN_MOVE_STACKED, UNW_INSN_SETNAT_MEMSTK, UNW_INSN_SETNAT_TYPE,
  UNW_INSN_LOAD, UNW_INSN_MOVE_SCRATCH, UNW_INSN_MOVE_CONST
}
 

Macro Definition Documentation

#define UNW_FLAG_EHANDLER (   x)    ((x) & 0x0000000100000000L)

Definition at line 11 of file unwind_i.h.

#define UNW_FLAG_MASK   0x0000ffff00000000

Definition at line 9 of file unwind_i.h.

#define UNW_FLAG_OSMASK   0x0000f00000000000

Definition at line 10 of file unwind_i.h.

#define UNW_FLAG_UHANDLER (   x)    ((x) & 0x0000000200000000L)

Definition at line 12 of file unwind_i.h.

#define UNW_LENGTH (   x)    ((x) & 0x00000000ffffffffL)

Definition at line 13 of file unwind_i.h.

#define UNW_MAX_SCRIPT_LEN   (UNW_NUM_REGS + 5)

Definition at line 151 of file unwind_i.h.

#define UNW_VER (   x)    ((x) >> 48)

Definition at line 8 of file unwind_i.h.

#define UNW_WHEN_NEVER   0x7fffffff

Definition at line 74 of file unwind_i.h.

Enumeration Type Documentation

Enumerator:
UNW_INSN_ADD 
UNW_INSN_ADD_PSP 
UNW_INSN_ADD_SP 
UNW_INSN_MOVE 
UNW_INSN_MOVE2 
UNW_INSN_MOVE_STACKED 
UNW_INSN_SETNAT_MEMSTK 
UNW_INSN_SETNAT_TYPE 
UNW_INSN_LOAD 
UNW_INSN_MOVE_SCRATCH 
UNW_INSN_MOVE_CONST 

Definition at line 124 of file unwind_i.h.

Enumerator:
UNW_NAT_NONE 
UNW_NAT_VAL 
UNW_NAT_MEMSTK 
UNW_NAT_REGSTK 

Definition at line 117 of file unwind_i.h.

Enumerator:
UNW_REG_PRI_UNAT_GR 
UNW_REG_PRI_UNAT_MEM 
UNW_REG_BSP 
UNW_REG_BSPSTORE 
UNW_REG_PFS 
UNW_REG_RNAT 
UNW_REG_PSP 
UNW_REG_RP 
UNW_REG_R4 
UNW_REG_R5 
UNW_REG_R6 
UNW_REG_R7 
UNW_REG_UNAT 
UNW_REG_PR 
UNW_REG_LC 
UNW_REG_FPSR 
UNW_REG_B1 
UNW_REG_B2 
UNW_REG_B3 
UNW_REG_B4 
UNW_REG_B5 
UNW_REG_F2 
UNW_REG_F3 
UNW_REG_F4 
UNW_REG_F5 
UNW_REG_F16 
UNW_REG_F17 
UNW_REG_F18 
UNW_REG_F19 
UNW_REG_F20 
UNW_REG_F21 
UNW_REG_F22 
UNW_REG_F23 
UNW_REG_F24 
UNW_REG_F25 
UNW_REG_F26 
UNW_REG_F27 
UNW_REG_F28 
UNW_REG_F29 
UNW_REG_F30 
UNW_REG_F31 
UNW_NUM_REGS 

Definition at line 15 of file unwind_i.h.

enum unw_where
Enumerator:
UNW_WHERE_NONE 
UNW_WHERE_GR 
UNW_WHERE_FR 
UNW_WHERE_BR 
UNW_WHERE_SPREL 
UNW_WHERE_PSPREL 
UNW_WHERE_SPILL_HOME 
UNW_WHERE_GR_SAVE 

Definition at line 59 of file unwind_i.h.