Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/arm/vm_machdep.c
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | #if __ARM_ARCH >= 7 | ||||
else | else | ||||
#endif | #endif | ||||
frame->tf_pc -= INSN_SIZE; | frame->tf_pc -= INSN_SIZE; | ||||
break; | break; | ||||
case EJUSTRETURN: | case EJUSTRETURN: | ||||
/* nothing to do */ | /* nothing to do */ | ||||
break; | break; | ||||
default: | default: | ||||
frame->tf_r0 = error; | frame->tf_r0 = SV_ABI_ERRNO(td->td_proc, error); | ||||
frame->tf_spsr |= PSR_C; /* carry bit */ | frame->tf_spsr |= PSR_C; /* carry bit */ | ||||
break; | break; | ||||
} | } | ||||
} | } | ||||
/* | /* | ||||
* Initialize machine state, mostly pcb and trap frame for a new | * Initialize machine state, mostly pcb and trap frame for a new | ||||
* thread, about to return to userspace. Put enough state in the new | * thread, about to return to userspace. Put enough state in the new | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |