Lines Matching refs:error
78 #error "Sign extend check only works for NEFF==32" in address_is_sign_extended()
172 int error; in misaligned_load() local
176 error = generate_and_check_address(regs, opcode, in misaligned_load()
178 if (error < 0) in misaligned_load()
179 return error; in misaligned_load()
246 int error; in misaligned_store() local
250 error = generate_and_check_address(regs, opcode, in misaligned_store()
252 if (error < 0) in misaligned_store()
253 return error; in misaligned_store()
318 int error; in misaligned_fpu_load() local
322 error = generate_and_check_address(regs, opcode, in misaligned_fpu_load()
324 if (error < 0) in misaligned_fpu_load()
325 return error; in misaligned_fpu_load()
390 int error; in misaligned_fpu_store() local
394 error = generate_and_check_address(regs, opcode, in misaligned_fpu_store()
396 if (error < 0) in misaligned_fpu_store()
397 return error; in misaligned_fpu_store()
459 int error; in misaligned_fixup() local
467 error = read_opcode(regs->pc, &opcode, user_mode(regs)); in misaligned_fixup()
468 if (error < 0) { in misaligned_fixup()
469 return error; in misaligned_fixup()
476 error = misaligned_load(regs, opcode, 1, 1, 1); in misaligned_fixup()
479 error = misaligned_load(regs, opcode, 1, 1, 0); in misaligned_fixup()
482 error = misaligned_load(regs, opcode, 1, 2, 1); in misaligned_fixup()
485 error = misaligned_load(regs, opcode, 1, 3, 0); in misaligned_fixup()
489 error = misaligned_store(regs, opcode, 1, 1); in misaligned_fixup()
492 error = misaligned_store(regs, opcode, 1, 2); in misaligned_fixup()
495 error = misaligned_store(regs, opcode, 1, 3); in misaligned_fixup()
501 error = misaligned_load(regs, opcode, 0, 1, 1); in misaligned_fixup()
504 error = misaligned_load(regs, opcode, 0, 1, 0); in misaligned_fixup()
507 error = misaligned_load(regs, opcode, 0, 2, 1); in misaligned_fixup()
510 error = misaligned_load(regs, opcode, 0, 3, 0); in misaligned_fixup()
513 error = -1; in misaligned_fixup()
521 error = misaligned_store(regs, opcode, 0, 1); in misaligned_fixup()
524 error = misaligned_store(regs, opcode, 0, 2); in misaligned_fixup()
527 error = misaligned_store(regs, opcode, 0, 3); in misaligned_fixup()
530 error = -1; in misaligned_fixup()
536 error = misaligned_fpu_load(regs, opcode, 1, 2, 0); in misaligned_fixup()
539 error = misaligned_fpu_load(regs, opcode, 1, 3, 1); in misaligned_fixup()
542 error = misaligned_fpu_load(regs, opcode, 1, 3, 0); in misaligned_fixup()
547 error = misaligned_fpu_load(regs, opcode, 0, 2, 0); in misaligned_fixup()
550 error = misaligned_fpu_load(regs, opcode, 0, 3, 1); in misaligned_fixup()
553 error = misaligned_fpu_load(regs, opcode, 0, 3, 0); in misaligned_fixup()
556 error = -1; in misaligned_fixup()
561 error = misaligned_fpu_store(regs, opcode, 1, 2, 0); in misaligned_fixup()
564 error = misaligned_fpu_store(regs, opcode, 1, 3, 1); in misaligned_fixup()
567 error = misaligned_fpu_store(regs, opcode, 1, 3, 0); in misaligned_fixup()
572 error = misaligned_fpu_store(regs, opcode, 0, 2, 0); in misaligned_fixup()
575 error = misaligned_fpu_store(regs, opcode, 0, 3, 1); in misaligned_fixup()
578 error = misaligned_fpu_store(regs, opcode, 0, 3, 0); in misaligned_fixup()
581 error = -1; in misaligned_fixup()
588 error = -1; in misaligned_fixup()
592 if (error < 0) { in misaligned_fixup()
593 return error; in misaligned_fixup()
600 static void do_unhandled_exception(int signr, char *str, unsigned long error, in do_unhandled_exception() argument
606 die_if_no_fixup(str, regs, error); in do_unhandled_exception()