Lines Matching refs:sreg
355 support_registers sreg; variable
591 …hex2mem((unsigned char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - S0) * sizeo… in write_register()
636 …*valptr = *(unsigned int *)((char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - … in read_register()
891 unsigned int *bp_d_regs = &sreg.s3_3; in stub_is_stopped()
915 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
944 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
1145 if (sreg.s0_3 & 0x1) { in insert_watchpoint()
1151 sreg.s1_3 = addr; in insert_watchpoint()
1152 sreg.s2_3 = (addr + len - 1); in insert_watchpoint()
1153 sreg.s0_3 |= 1; in insert_watchpoint()
1156 unsigned int *bp_d_regs = &sreg.s3_3; in insert_watchpoint()
1170 if (!(sreg.s0_3 & (0x3 << (2 + (bp * 4))))) { in insert_watchpoint()
1184 sreg.s0_3 |= (1 << (2 + bp * 4)); in insert_watchpoint()
1188 sreg.s0_3 |= (2 << (2 + bp * 4)); in insert_watchpoint()
1223 if (!(sreg.s0_3 & 0x1)) { in remove_watchpoint()
1229 sreg.s1_3 = 0; in remove_watchpoint()
1230 sreg.s2_3 = 0; in remove_watchpoint()
1231 sreg.s0_3 &= ~1; in remove_watchpoint()
1234 unsigned int *bp_d_regs = &sreg.s3_3; in remove_watchpoint()
1250 rw_bits = (sreg.s0_3 & (0x3 << bitpos)) >> bitpos; in remove_watchpoint()
1270 sreg.s0_3 &= ~(3 << (2 + (bp * 4))); in remove_watchpoint()
1313 (char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1325 hex2mem((char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1438 if ((sreg.s0_3 & 0x3fff) == 0) { in handle_exception()