GDB (xrefs)
Classes | Macros | Typedefs | Enumerations
/tmp/gdb-7.10/gdb/xtensa-tdep.h File Reference

Go to the source code of this file.

Classes

struct  xtensa_elf_gregset_t
 
struct  xtensa_reg_mask_t
 
struct  xtensa_mask_t
 
struct  xtensa_register_t
 
struct  ctype_cache
 
struct  gdbarch_tdep
 

Macros

#define XTENSA_TDEP_VERSION   0x60
 
#define XTENSA_MAX_COPROCESSOR   0x10 /* Number of Xtensa coprocessors. */
 
#define XTENSA_ELF_NGREG
 
#define XTREG(index, ofs, bsz, sz, al, tnum, flg, cp, ty, gr, name, fet, sto, mas, ct, x, y)
 
#define XTREG_END   {0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0},
 
#define XTENSA_REGISTER_FLAGS_PRIVILEGED   0x0001
 
#define XTENSA_REGISTER_FLAGS_READABLE   0x0002
 
#define XTENSA_REGISTER_FLAGS_WRITABLE   0x0004
 
#define XTENSA_REGISTER_FLAGS_VOLATILE   0x0008
 
#define XTENSA_GDBARCH_TDEP_INSTANTIATE(rmap, spillsz)
 
#define XTENSA_CONFIG_INSTANTIATE(rmap, spill_size)
 
#define XCHAL_NUM_CONTEXTS   0
 
#define WB_SHIFT   2
 

Typedefs

typedef uint32_t xtensa_elf_greg_t
 

Enumerations

enum  xtensa_register_type_t {
  xtRegisterTypeArRegfile = 1, xtRegisterTypeSpecialReg, xtRegisterTypeUserReg, xtRegisterTypeTieRegfile,
  xtRegisterTypeTieState, xtRegisterTypeMapped, xtRegisterTypeUnmapped, xtRegisterTypeWindow,
  xtRegisterTypeVirtual, xtRegisterTypeUnknown
}
 
enum  xtensa_register_group_t {
  xtRegisterGroupUnknown = 0, xtRegisterGroupRegFile = 0x0001, xtRegisterGroupAddrReg = 0x0002, xtRegisterGroupSpecialReg = 0x0004,
  xtRegisterGroupUserReg = 0x0008, xtRegisterGroupState = 0x0010, xtRegisterGroupGeneral = 0x0100, xtRegisterGroupUser = 0x0200,
  xtRegisterGroupFloat = 0x0400, xtRegisterGroupVectra = 0x0800, xtRegisterGroupSystem = 0x1000, xtRegisterGroupNCP = 0x00800000,
  xtRegisterGroupCP0 = 0x01000000, xtRegisterGroupCP1 = 0x02000000, xtRegisterGroupCP2 = 0x04000000, xtRegisterGroupCP3 = 0x08000000,
  xtRegisterGroupCP4 = 0x10000000, xtRegisterGroupCP5 = 0x20000000, xtRegisterGroupCP6 = 0x40000000, xtRegisterGroupCP7 = 0x80000000
}
 
enum  xtensa_target_flags_t { xtTargetFlagsNonVisibleRegs = 0x0001, xtTargetFlagsUseFetchStore = 0x0002 }
 
enum  call_abi_t { CallAbiDefault = 0, CallAbiCall0Only }
 

Macro Definition Documentation

#define WB_SHIFT   2

Definition at line 300 of file xtensa-tdep.h.

Referenced by arreg_number().

#define XCHAL_NUM_CONTEXTS   0

Definition at line 295 of file xtensa-tdep.h.

#define XTENSA_CONFIG_INSTANTIATE (   rmap,
  spill_size 
)
Value:
struct gdbarch_tdep xtensa_tdep
unsigned int spill_size
Definition: xtensa-tdep.h:181
#define XTENSA_GDBARCH_TDEP_INSTANTIATE(rmap, spillsz)
Definition: xtensa-tdep.h:243
xtensa_register_t rmap[]
Definition: xtensa-config.c:65

Definition at line 290 of file xtensa-tdep.h.

#define XTENSA_ELF_NGREG
Value:
/ sizeof (xtensa_elf_greg_t))
uint32_t xtensa_elf_greg_t
Definition: xtensa-tdep.h:87

Definition at line 103 of file xtensa-tdep.h.

#define XTENSA_GDBARCH_TDEP_INSTANTIATE (   rmap,
  spillsz 
)

Definition at line 243 of file xtensa-tdep.h.

#define XTENSA_MAX_COPROCESSOR   0x10 /* Number of Xtensa coprocessors. */
#define XTENSA_REGISTER_FLAGS_PRIVILEGED   0x0001

Definition at line 151 of file xtensa-tdep.h.

Referenced by xtensa_derive_tdep().

#define XTENSA_REGISTER_FLAGS_READABLE   0x0002

Definition at line 152 of file xtensa-tdep.h.

#define XTENSA_REGISTER_FLAGS_VOLATILE   0x0008

Definition at line 154 of file xtensa-tdep.h.

#define XTENSA_REGISTER_FLAGS_WRITABLE   0x0004

Definition at line 153 of file xtensa-tdep.h.

#define XTENSA_TDEP_VERSION   0x60

Definition at line 24 of file xtensa-tdep.h.

#define XTREG (   index,
  ofs,
  bsz,
  sz,
  al,
  tnum,
  flg,
  cp,
  ty,
  gr,
  name,
  fet,
  sto,
  mas,
  ct,
  x,
 
)
Value:
{#name, ofs, ty, ((gr) | ((xtRegisterGroupNCP >> 2) << (cp + 2))), \
ct, bsz, sz, al, tnum, flg, cp, mas, fet, sto},
const char *const name
Definition: aarch64-tdep.c:68
struct m32c_reg * flg
Definition: m32c-tdep.c:111

Definition at line 146 of file xtensa-tdep.h.

#define XTREG_END   {0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0},

Definition at line 149 of file xtensa-tdep.h.

Typedef Documentation

typedef uint32_t xtensa_elf_greg_t

Definition at line 87 of file xtensa-tdep.h.

Enumeration Type Documentation

enum call_abi_t
Enumerator
CallAbiDefault 
CallAbiCall0Only 

Definition at line 158 of file xtensa-tdep.h.

Enumerator
xtRegisterGroupUnknown 
xtRegisterGroupRegFile 
xtRegisterGroupAddrReg 
xtRegisterGroupSpecialReg 
xtRegisterGroupUserReg 
xtRegisterGroupState 
xtRegisterGroupGeneral 
xtRegisterGroupUser 
xtRegisterGroupFloat 
xtRegisterGroupVectra 
xtRegisterGroupSystem 
xtRegisterGroupNCP 
xtRegisterGroupCP0 
xtRegisterGroupCP1 
xtRegisterGroupCP2 
xtRegisterGroupCP3 
xtRegisterGroupCP4 
xtRegisterGroupCP5 
xtRegisterGroupCP6 
xtRegisterGroupCP7 

Definition at line 47 of file xtensa-tdep.h.

Enumerator
xtRegisterTypeArRegfile 
xtRegisterTypeSpecialReg 
xtRegisterTypeUserReg 
xtRegisterTypeTieRegfile 
xtRegisterTypeTieState 
xtRegisterTypeMapped 
xtRegisterTypeUnmapped 
xtRegisterTypeWindow 
xtRegisterTypeVirtual 
xtRegisterTypeUnknown 

Definition at line 28 of file xtensa-tdep.h.

Enumerator
xtTargetFlagsNonVisibleRegs 
xtTargetFlagsUseFetchStore 

Definition at line 77 of file xtensa-tdep.h.