osprey/include/sys/mips/unwind_mips.h File Reference

#include <inttypes.h>

Include dependency graph for unwind_mips.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  __unw_table_entry_struct
type  __unw_info_struct

Defines

#define __UNW_VERSION   0x01
#define __UNW_OK   0x00
#define __UNW_INTERNAL_ERROR   0x01
#define __UNW_MALLOC_ERROR   0x02
#define __UNW_REALLOC_ERROR   0x03
#define __UNW_MMAP_ERROR   0x04
#define __UNW_SYSCALL_ERROR   0x05
#define __UNW_NULL_ERROR   0x06
#define __UNW_INV_ARG_ERROR   0x07
#define __UNW_INV_SIZE_ERROR   0x08
#define __UNW_INV_OP_ERROR   0x09
#define __UNW_INV_ALIGNMENT_ERROR   0x0a
#define __UNW_INV_VERSION_ERROR   0x0b
#define __UNW_NOT_FOUND_ERROR   0x0c
#define __UNW_IS_HEADER(x)   (!((x) & 0x80))
#define __UNW_IS_PROLOGUE_HEADER(x)
#define __UNW_IS_BODY_HEADER(x)
#define __UNW_IS_R1(x)   (0x00 == ((x) & 0xc0))
#define __UNW_IS_R2(x)   (0x40 == ((x) & 0xe0))
#define __UNW_IS_R3(x)   (0x60 == ((x) & 0xe0))
#define __UNW_IS_P1(x)   (0x80 == ((x) & 0xe0))
#define __UNW_IS_P2(x)   (0xa0 == ((x) & 0xf0))
#define __UNW_IS_P3(x)   (0xb0 == ((x) & 0xf8))
#define __UNW_IS_P4(x)   (0xb8 == ((x) & 0xff))
#define __UNW_IS_P5(x)   (0xb9 == ((x) & 0xff))
#define __UNW_IS_P6(x)   (0xc0 == ((x) & 0xe0))
#define __UNW_IS_P7(x)   (0xe0 == ((x) & 0xf0))
#define __UNW_IS_P8(x)   (0xf0 == ((x) & 0xff))
#define __UNW_IS_P9(x)   (0xf1 == ((x) & 0xff))
#define __UNW_IS_P10(x)   (0xff == ((x) & 0xff))
#define __UNW_IS_B1(x)   (0x80 == ((x) & 0xc0))
#define __UNW_IS_B2(x)   (0xc0 == ((x) & 0xe0))
#define __UNW_IS_B3(x)   (0xe0 == ((x) & 0xff))
#define __UNW_IS_B4(x)   (0xf0 == ((x) & 0xf7))
#define __UNW_IS_X1(x)   (0xf9 == ((x) & 0xff))
#define __UNW_IS_X2(x)   (0xfa == ((x) & 0xff))
#define __UNW_IS_X3(x)   (0xfb == ((x) & 0xff))
#define __UNW_IS_X4(x)   (0xfc == ((x) & 0xff))
#define __UNW_VER(x)   ((x) >> 48)
#define __UNW_FLAG_EHANDLER(x)   ((x) & 0x0000000100000000LL)
#define __UNW_FLAG_UHANDLER(x)   ((x) & 0x0000000200000000LL)
#define __UNW_LENGTH(x)   ((x) & 0x00000000ffffffffLL)

Typedefs

typedef uint64_t __unw_addr_t
typedef uint64_t __unw_dbl_word_t
typedef uint32_t __unw_word_t
typedef int32_t __unw_error_t
typedef struct
__unw_table_entry_struct 
__unw_table_entry_t
typedef struct __unw_info_struct __unw_info_t

Functions/Subroutines

uint64_t __leb128_decode (char *, uint64_t, uint64_t *)
uint64_t __leb128_encode (char *, uint64_t, uint64_t)
__unw_error_t unwind_process (__unw_error_t(*)(char *, uint64_t, char *, uint64_t, void *), void *)
__unw_error_t unwind_dump2ascii (char *, uint64_t, char *, uint64_t, void *)


Define Documentation

#define __UNW_FLAG_EHANDLER (  )     ((x) & 0x0000000100000000LL)

Definition at line 134 of file unwind_mips.h.

#define __UNW_FLAG_UHANDLER (  )     ((x) & 0x0000000200000000LL)

Definition at line 135 of file unwind_mips.h.

#define __UNW_INTERNAL_ERROR   0x01

Definition at line 60 of file unwind_mips.h.

#define __UNW_INV_ALIGNMENT_ERROR   0x0a

Definition at line 69 of file unwind_mips.h.

#define __UNW_INV_ARG_ERROR   0x07

Definition at line 66 of file unwind_mips.h.

#define __UNW_INV_OP_ERROR   0x09

Definition at line 68 of file unwind_mips.h.

#define __UNW_INV_SIZE_ERROR   0x08

Definition at line 67 of file unwind_mips.h.

#define __UNW_INV_VERSION_ERROR   0x0b

Definition at line 70 of file unwind_mips.h.

#define __UNW_IS_B1 (  )     (0x80 == ((x) & 0xc0))

Definition at line 123 of file unwind_mips.h.

#define __UNW_IS_B2 (  )     (0xc0 == ((x) & 0xe0))

Definition at line 124 of file unwind_mips.h.

#define __UNW_IS_B3 (  )     (0xe0 == ((x) & 0xff))

Definition at line 125 of file unwind_mips.h.

#define __UNW_IS_B4 (  )     (0xf0 == ((x) & 0xf7))

Definition at line 126 of file unwind_mips.h.

#define __UNW_IS_BODY_HEADER (  ) 

Value:

((0x20 == ((x) & 0xe0)) \
        || (0x61 == (x)))

Definition at line 106 of file unwind_mips.h.

#define __UNW_IS_HEADER (  )     (!((x) & 0x80))

Definition at line 98 of file unwind_mips.h.

#define __UNW_IS_P1 (  )     (0x80 == ((x) & 0xe0))

Definition at line 113 of file unwind_mips.h.

#define __UNW_IS_P10 (  )     (0xff == ((x) & 0xff))

Definition at line 122 of file unwind_mips.h.

#define __UNW_IS_P2 (  )     (0xa0 == ((x) & 0xf0))

Definition at line 114 of file unwind_mips.h.

#define __UNW_IS_P3 (  )     (0xb0 == ((x) & 0xf8))

Definition at line 115 of file unwind_mips.h.

#define __UNW_IS_P4 (  )     (0xb8 == ((x) & 0xff))

Definition at line 116 of file unwind_mips.h.

#define __UNW_IS_P5 (  )     (0xb9 == ((x) & 0xff))

Definition at line 117 of file unwind_mips.h.

#define __UNW_IS_P6 (  )     (0xc0 == ((x) & 0xe0))

Definition at line 118 of file unwind_mips.h.

#define __UNW_IS_P7 (  )     (0xe0 == ((x) & 0xf0))

Definition at line 119 of file unwind_mips.h.

#define __UNW_IS_P8 (  )     (0xf0 == ((x) & 0xff))

Definition at line 120 of file unwind_mips.h.

#define __UNW_IS_P9 (  )     (0xf1 == ((x) & 0xff))

Definition at line 121 of file unwind_mips.h.

#define __UNW_IS_PROLOGUE_HEADER (  ) 

Value:

((0x00 == ((x) & 0xe0)) \
        || (0x40 == ((x) & 0xf8)) \
        || (0x60 == (x)))

Definition at line 101 of file unwind_mips.h.

#define __UNW_IS_R1 (  )     (0x00 == ((x) & 0xc0))

Definition at line 110 of file unwind_mips.h.

#define __UNW_IS_R2 (  )     (0x40 == ((x) & 0xe0))

Definition at line 111 of file unwind_mips.h.

#define __UNW_IS_R3 (  )     (0x60 == ((x) & 0xe0))

Definition at line 112 of file unwind_mips.h.

#define __UNW_IS_X1 (  )     (0xf9 == ((x) & 0xff))

Definition at line 127 of file unwind_mips.h.

#define __UNW_IS_X2 (  )     (0xfa == ((x) & 0xff))

Definition at line 128 of file unwind_mips.h.

#define __UNW_IS_X3 (  )     (0xfb == ((x) & 0xff))

Definition at line 129 of file unwind_mips.h.

#define __UNW_IS_X4 (  )     (0xfc == ((x) & 0xff))

Definition at line 130 of file unwind_mips.h.

#define __UNW_LENGTH (  )     ((x) & 0x00000000ffffffffLL)

Definition at line 136 of file unwind_mips.h.

#define __UNW_MALLOC_ERROR   0x02

Definition at line 61 of file unwind_mips.h.

#define __UNW_MMAP_ERROR   0x04

Definition at line 63 of file unwind_mips.h.

#define __UNW_NOT_FOUND_ERROR   0x0c

Definition at line 71 of file unwind_mips.h.

#define __UNW_NULL_ERROR   0x06

Definition at line 65 of file unwind_mips.h.

#define __UNW_OK   0x00

Definition at line 59 of file unwind_mips.h.

#define __UNW_REALLOC_ERROR   0x03

Definition at line 62 of file unwind_mips.h.

#define __UNW_SYSCALL_ERROR   0x05

Definition at line 64 of file unwind_mips.h.

#define __UNW_VER (  )     ((x) >> 48)

Definition at line 133 of file unwind_mips.h.

#define __UNW_VERSION   0x01

Definition at line 56 of file unwind_mips.h.


Typedef Documentation

Definition at line 77 of file unwind_mips.h.

Definition at line 79 of file unwind_mips.h.

Definition at line 81 of file unwind_mips.h.

Definition at line 80 of file unwind_mips.h.


Function Documentation

uint64_t __leb128_decode ( char *  ,
uint64_t  ,
uint64_t  
)

Definition at line 45 of file leb.c.

uint64_t __leb128_encode ( char *  ,
uint64_t  ,
uint64_t   
)

Definition at line 63 of file leb.c.

__unw_error_t unwind_dump2ascii ( char *  ,
uint64_t  ,
char *  ,
uint64_t  ,
void  
)

Definition at line 543 of file dump.c.

__unw_error_t unwind_process ( __unw_error_t(*)(char *, uint64_t, char *, uint64_t, void *)  ,
void  
)

Definition at line 54 of file process.c.


Generated on Wed Apr 8 15:09:10 2009 for Open64 by  doxygen 1.5.6