Back to index

cell-binutils  2.17cvs20070401
Enumerations | Functions
sim-d10v.h File Reference

Go to the source code of this file.

Enumerations

enum  {
  SIM_D10V_MEMORY_UNIFIED = 0x00000000, SIM_D10V_MEMORY_INSN = 0x01000000, SIM_D10V_MEMORY_DATA = 0x02000000, SIM_D10V_MEMORY_DMAP = 0x10000000,
  SIM_D10V_MEMORY_IMAP = 0x11000000
}
enum  sim_d10v_regs {
  SIM_D10V_R0_REGNUM, SIM_D10V_R1_REGNUM, SIM_D10V_R2_REGNUM, SIM_D10V_R3_REGNUM,
  SIM_D10V_R4_REGNUM, SIM_D10V_R5_REGNUM, SIM_D10V_R6_REGNUM, SIM_D10V_R7_REGNUM,
  SIM_D10V_R8_REGNUM, SIM_D10V_R9_REGNUM, SIM_D10V_R10_REGNUM, SIM_D10V_R11_REGNUM,
  SIM_D10V_R12_REGNUM, SIM_D10V_R13_REGNUM, SIM_D10V_R14_REGNUM, SIM_D10V_R15_REGNUM,
  SIM_D10V_CR0_REGNUM, SIM_D10V_CR1_REGNUM, SIM_D10V_CR2_REGNUM, SIM_D10V_CR3_REGNUM,
  SIM_D10V_CR4_REGNUM, SIM_D10V_CR5_REGNUM, SIM_D10V_CR6_REGNUM, SIM_D10V_CR7_REGNUM,
  SIM_D10V_CR8_REGNUM, SIM_D10V_CR9_REGNUM, SIM_D10V_CR10_REGNUM, SIM_D10V_CR11_REGNUM,
  SIM_D10V_CR12_REGNUM, SIM_D10V_CR13_REGNUM, SIM_D10V_CR14_REGNUM, SIM_D10V_CR15_REGNUM,
  SIM_D10V_A0_REGNUM, SIM_D10V_A1_REGNUM, SIM_D10V_SPI_REGNUM, SIM_D10V_SPU_REGNUM,
  SIM_D10V_IMAP0_REGNUM, SIM_D10V_IMAP1_REGNUM, SIM_D10V_DMAP0_REGNUM, SIM_D10V_DMAP1_REGNUM,
  SIM_D10V_DMAP2_REGNUM, SIM_D10V_DMAP3_REGNUM, SIM_D10V_TS2_DMAP_REGNUM
}
enum  {
  SIM_D10V_NR_R_REGS = 16, SIM_D10V_NR_A_REGS = 2, SIM_D10V_NR_IMAP_REGS = 2, SIM_D10V_NR_DMAP_REGS = 4,
  SIM_D10V_NR_CR_REGS = 16
}

Functions

unsigned long sim_d10v_translate_dmap_addr (unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long(*dmap_register)(void *regcache, int reg_nr))
unsigned long sim_d10v_translate_imap_addr (unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long(*imap_register)(void *regcache, int reg_nr))
unsigned long sim_d10v_translate_addr (unsigned long vaddr, int nr_bytes, unsigned long *phys, void *regcache, unsigned long(*dmap_register)(void *regcache, int reg_nr), unsigned long(*imap_register)(void *regcache, int reg_nr))

Enumeration Type Documentation

anonymous enum
Enumerator:
SIM_D10V_MEMORY_UNIFIED 
SIM_D10V_MEMORY_INSN 
SIM_D10V_MEMORY_DATA 
SIM_D10V_MEMORY_DMAP 
SIM_D10V_MEMORY_IMAP 

Definition at line 48 of file sim-d10v.h.

  {
    SIM_D10V_MEMORY_UNIFIED = 0x00000000,
    SIM_D10V_MEMORY_INSN = 0x01000000,
    SIM_D10V_MEMORY_DATA = 0x02000000,
    SIM_D10V_MEMORY_DMAP = 0x10000000,
    SIM_D10V_MEMORY_IMAP = 0x11000000
  };
anonymous enum
Enumerator:
SIM_D10V_NR_R_REGS 
SIM_D10V_NR_A_REGS 
SIM_D10V_NR_IMAP_REGS 
SIM_D10V_NR_DMAP_REGS 
SIM_D10V_NR_CR_REGS 

Definition at line 129 of file sim-d10v.h.

Enumerator:
SIM_D10V_R0_REGNUM 
SIM_D10V_R1_REGNUM 
SIM_D10V_R2_REGNUM 
SIM_D10V_R3_REGNUM 
SIM_D10V_R4_REGNUM 
SIM_D10V_R5_REGNUM 
SIM_D10V_R6_REGNUM 
SIM_D10V_R7_REGNUM 
SIM_D10V_R8_REGNUM 
SIM_D10V_R9_REGNUM 
SIM_D10V_R10_REGNUM 
SIM_D10V_R11_REGNUM 
SIM_D10V_R12_REGNUM 
SIM_D10V_R13_REGNUM 
SIM_D10V_R14_REGNUM 
SIM_D10V_R15_REGNUM 
SIM_D10V_CR0_REGNUM 
SIM_D10V_CR1_REGNUM 
SIM_D10V_CR2_REGNUM 
SIM_D10V_CR3_REGNUM 
SIM_D10V_CR4_REGNUM 
SIM_D10V_CR5_REGNUM 
SIM_D10V_CR6_REGNUM 
SIM_D10V_CR7_REGNUM 
SIM_D10V_CR8_REGNUM 
SIM_D10V_CR9_REGNUM 
SIM_D10V_CR10_REGNUM 
SIM_D10V_CR11_REGNUM 
SIM_D10V_CR12_REGNUM 
SIM_D10V_CR13_REGNUM 
SIM_D10V_CR14_REGNUM 
SIM_D10V_CR15_REGNUM 
SIM_D10V_A0_REGNUM 
SIM_D10V_A1_REGNUM 
SIM_D10V_SPI_REGNUM 
SIM_D10V_SPU_REGNUM 
SIM_D10V_IMAP0_REGNUM 
SIM_D10V_IMAP1_REGNUM 
SIM_D10V_DMAP0_REGNUM 
SIM_D10V_DMAP1_REGNUM 
SIM_D10V_DMAP2_REGNUM 
SIM_D10V_DMAP3_REGNUM 
SIM_D10V_TS2_DMAP_REGNUM 

Definition at line 82 of file sim-d10v.h.


Function Documentation

unsigned long sim_d10v_translate_addr ( unsigned long  vaddr,
int  nr_bytes,
unsigned long phys,
void *  regcache,
unsigned long(*)(void *regcache, int reg_nr)  dmap_register,
unsigned long(*)(void *regcache, int reg_nr)  imap_register 
)
unsigned long sim_d10v_translate_dmap_addr ( unsigned long  offset,
int  nr_bytes,
unsigned long phys,
void *  regcache,
unsigned long(*)(void *regcache, int reg_nr)  dmap_register 
)
unsigned long sim_d10v_translate_imap_addr ( unsigned long  offset,
int  nr_bytes,
unsigned long phys,
void *  regcache,
unsigned long(*)(void *regcache, int reg_nr)  imap_register 
)