GDB (API)
Defines | Enumerations
/home/stan/gdb/src/gdb/spu-tdep.h File Reference

Go to the source code of this file.

Defines

#define SPU_NUM_REGS   130
#define SPU_NUM_PSEUDO_REGS   6
#define SPU_NUM_GPRS   128
#define SPUADDR(spu, addr)   ((spu) != -1? (ULONGEST)1 << 63 | (ULONGEST)(spu) << 32 | (addr) : (addr))
#define SPUADDR_SPU(addr)
#define SPUADDR_ADDR(addr)   (((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) & 0xffffffff : (addr))
#define SPU_OVERLAY_LMA   ((ULONGEST)1 << 62)

Enumerations

enum  spu_regnum {
  SPU_LR_REGNUM = 0, SPU_RAW_SP_REGNUM = 1, SPU_ARG1_REGNUM = 3, SPU_ARGN_REGNUM = 74,
  SPU_SAVED1_REGNUM = 80, SPU_SAVEDN_REGNUM = 127, SPU_FP_REGNUM = 127, SPU_ID_REGNUM = 128,
  SPU_PC_REGNUM = 129, SPU_SP_REGNUM = 130, SPU_FPSCR_REGNUM = 131, SPU_SRR0_REGNUM = 132,
  SPU_LSLR_REGNUM = 133, SPU_DECR_REGNUM = 134, SPU_DECR_STATUS_REGNUM = 135
}

Define Documentation

#define SPU_NUM_GPRS   128

Definition at line 25 of file spu-tdep.h.

#define SPU_NUM_PSEUDO_REGS   6

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

#define SPU_NUM_REGS   130

Definition at line 23 of file spu-tdep.h.

#define SPU_OVERLAY_LMA   ((ULONGEST)1 << 62)

Definition at line 115 of file spu-tdep.h.

#define SPUADDR (   spu,
  addr 
)    ((spu) != -1? (ULONGEST)1 << 63 | (ULONGEST)(spu) << 32 | (addr) : (addr))

Definition at line 104 of file spu-tdep.h.

#define SPUADDR_ADDR (   addr)    (((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) & 0xffffffff : (addr))

Definition at line 112 of file spu-tdep.h.

#define SPUADDR_SPU (   addr)
Value:
(((addr) & (ULONGEST)1 << 63) \
   ? (int) ((ULONGEST)(addr) >> 32 & 0x3fffffff) \
   : -1)

Definition at line 107 of file spu-tdep.h.


Enumeration Type Documentation

enum spu_regnum
Enumerator:
SPU_LR_REGNUM 
SPU_RAW_SP_REGNUM 
SPU_ARG1_REGNUM 
SPU_ARGN_REGNUM 
SPU_SAVED1_REGNUM 
SPU_SAVEDN_REGNUM 
SPU_FP_REGNUM 
SPU_ID_REGNUM 
SPU_PC_REGNUM 
SPU_SP_REGNUM 
SPU_FPSCR_REGNUM 
SPU_SRR0_REGNUM 
SPU_LSLR_REGNUM 
SPU_DECR_REGNUM 
SPU_DECR_STATUS_REGNUM 

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines