Revision 2ac71179 hw/pl190.c

b/hw/pl190.c
137 137
    case 13: /* DEFVECTADDR */
138 138
        return s->vect_addr[16];
139 139
    default:
140
        cpu_abort (cpu_single_env, "pl190_read: Bad offset %x\n", (int)offset);
140
        hw_error("pl190_read: Bad offset %x\n", (int)offset);
141 141
        return 0;
142 142
    }
143 143
}
......
190 190
        s->default_addr = val;
191 191
        break;
192 192
    case 0xc0: /* ITCR */
193
        if (val)
194
            cpu_abort(cpu_single_env, "pl190: Test mode not implemented\n");
193
        if (val) {
194
            hw_error("pl190: Test mode not implemented\n");
195
        }
195 196
        break;
196 197
    default:
197
        cpu_abort(cpu_single_env, "pl190_write: Bad offset %x\n", (int)offset);
198
        hw_error("pl190_write: Bad offset %x\n", (int)offset);
198 199
        return;
199 200
    }
200 201
    pl190_update(s);

Also available in: Unified diff