Lines Matching refs:__debug_regs

907 		if (!(__debug_regs->dcr & DCR_IBE0)) {  in gdbstub_set_breakpoint()
909 __debug_regs->dcr |= DCR_IBE0; in gdbstub_set_breakpoint()
910 __debug_regs->ibar[0] = addr; in gdbstub_set_breakpoint()
915 if (!(__debug_regs->dcr & DCR_IBE1)) { in gdbstub_set_breakpoint()
917 __debug_regs->dcr |= DCR_IBE1; in gdbstub_set_breakpoint()
918 __debug_regs->ibar[1] = addr; in gdbstub_set_breakpoint()
923 if (!(__debug_regs->dcr & DCR_IBE2)) { in gdbstub_set_breakpoint()
925 __debug_regs->dcr |= DCR_IBE2; in gdbstub_set_breakpoint()
926 __debug_regs->ibar[2] = addr; in gdbstub_set_breakpoint()
931 if (!(__debug_regs->dcr & DCR_IBE3)) { in gdbstub_set_breakpoint()
933 __debug_regs->dcr |= DCR_IBE3; in gdbstub_set_breakpoint()
934 __debug_regs->ibar[3] = addr; in gdbstub_set_breakpoint()
956 if (!(__debug_regs->dcr & (DCR_DRBE0|DCR_DWBE0))) { in gdbstub_set_breakpoint()
960 __debug_regs->dcr |= tmp; in gdbstub_set_breakpoint()
961 __debug_regs->dbar[0] = addr; in gdbstub_set_breakpoint()
962 __debug_regs->dbmr[0][0] = dbmr.mask0; in gdbstub_set_breakpoint()
963 __debug_regs->dbmr[0][1] = dbmr.mask1; in gdbstub_set_breakpoint()
964 __debug_regs->dbdr[0][0] = 0; in gdbstub_set_breakpoint()
965 __debug_regs->dbdr[0][1] = 0; in gdbstub_set_breakpoint()
976 if (!(__debug_regs->dcr & (DCR_DRBE1|DCR_DWBE1))) { in gdbstub_set_breakpoint()
980 __debug_regs->dcr |= tmp; in gdbstub_set_breakpoint()
981 __debug_regs->dbar[1] = addr; in gdbstub_set_breakpoint()
982 __debug_regs->dbmr[1][0] = dbmr.mask0; in gdbstub_set_breakpoint()
983 __debug_regs->dbmr[1][1] = dbmr.mask1; in gdbstub_set_breakpoint()
984 __debug_regs->dbdr[1][0] = 0; in gdbstub_set_breakpoint()
985 __debug_regs->dbdr[1][1] = 0; in gdbstub_set_breakpoint()
1046 if (__debug_regs->dcr & DCR_IBE0 && __get_ibar(0) == addr) { in gdbstub_clear_breakpoint()
1048 __debug_regs->dcr &= ~DCR_IBE0; in gdbstub_clear_breakpoint()
1049 __debug_regs->ibar[0] = 0; in gdbstub_clear_breakpoint()
1054 if (__debug_regs->dcr & DCR_IBE1 && __get_ibar(1) == addr) { in gdbstub_clear_breakpoint()
1056 __debug_regs->dcr &= ~DCR_IBE1; in gdbstub_clear_breakpoint()
1057 __debug_regs->ibar[1] = 0; in gdbstub_clear_breakpoint()
1062 if (__debug_regs->dcr & DCR_IBE2 && __get_ibar(2) == addr) { in gdbstub_clear_breakpoint()
1064 __debug_regs->dcr &= ~DCR_IBE2; in gdbstub_clear_breakpoint()
1065 __debug_regs->ibar[2] = 0; in gdbstub_clear_breakpoint()
1070 if (__debug_regs->dcr & DCR_IBE3 && __get_ibar(3) == addr) { in gdbstub_clear_breakpoint()
1072 __debug_regs->dcr &= ~DCR_IBE3; in gdbstub_clear_breakpoint()
1073 __debug_regs->ibar[3] = 0; in gdbstub_clear_breakpoint()
1102 if ((__debug_regs->dcr & (DCR_DRBE0|DCR_DWBE0)) != tmp || in gdbstub_clear_breakpoint()
1109 __debug_regs->dcr &= ~(DCR_DRBE0|DCR_DWBE0); in gdbstub_clear_breakpoint()
1110 __debug_regs->dbar[0] = 0; in gdbstub_clear_breakpoint()
1111 __debug_regs->dbmr[0][0] = 0; in gdbstub_clear_breakpoint()
1112 __debug_regs->dbmr[0][1] = 0; in gdbstub_clear_breakpoint()
1113 __debug_regs->dbdr[0][0] = 0; in gdbstub_clear_breakpoint()
1114 __debug_regs->dbdr[0][1] = 0; in gdbstub_clear_breakpoint()
1127 if ((__debug_regs->dcr & (DCR_DRBE1|DCR_DWBE1)) != tmp || in gdbstub_clear_breakpoint()
1134 __debug_regs->dcr &= ~(DCR_DRBE1|DCR_DWBE1); in gdbstub_clear_breakpoint()
1135 __debug_regs->dbar[1] = 0; in gdbstub_clear_breakpoint()
1136 __debug_regs->dbmr[1][0] = 0; in gdbstub_clear_breakpoint()
1137 __debug_regs->dbmr[1][1] = 0; in gdbstub_clear_breakpoint()
1138 __debug_regs->dbdr[1][0] = 0; in gdbstub_clear_breakpoint()
1139 __debug_regs->dbdr[1][1] = 0; in gdbstub_clear_breakpoint()
1417 __debug_regs->brr, in gdbstub()
1418 __debug_regs->bpsr); in gdbstub()
1898 __debug_regs->dcr |= DCR_SE; in gdbstub()