GDB (API)
Classes | Defines | Typedefs | Enumerations
/home/stan/gdb/src/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  gdbarch_tdep
struct  gdbarch_tdep::ctype_cache

Defines

#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_HAVE_EXCEPTIONS   1
#define WB_SHIFT   2

Typedefs

typedef unsigned long 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 }

Define Documentation

#define WB_SHIFT   2

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

#define XCHAL_HAVE_EXCEPTIONS   1

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

#define XTENSA_CONFIG_INSTANTIATE (   rmap,
  spill_size 
)
Value:
struct gdbarch_tdep xtensa_tdep = \
          XTENSA_GDBARCH_TDEP_INSTANTIATE(rmap,spill_size);

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

Value:
(sizeof (xtensa_elf_gregset_t) \
                          / sizeof (xtensa_elf_greg_t))

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

#define XTENSA_GDBARCH_TDEP_INSTANTIATE (   rmap,
  spillsz 
)

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

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

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

#define XTENSA_REGISTER_FLAGS_PRIVILEGED   0x0001

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

#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},

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 unsigned long 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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines