Lines Matching defs:state
64 * dependent thread state info.
70 struct arm_thread_state *state;
80 state = (struct arm_thread_state *) tstate;
81 *user_stack = state->sp ? state->sp : USRSTACK;
117 struct arm_thread_state *state;
129 state = (struct arm_thread_state *) tstate;
130 *entry_point = state->pc ? state->pc : VM_MIN_ADDRESS;
189 struct arm_thread_state *state;
195 state = (struct arm_thread_state *) tstate;
201 ovbcopy((void*)saved_state, (void*)state, sizeof(struct arm_thread_state));
208 struct arm_vfp_state *state;
214 state = (struct arm_vfp_state *) tstate;
220 ovbcopy((void*)saved_state, (void*)state, sizeof(struct arm_vfp_state)); /* *state = *saved_state; */
227 struct arm_exception_state *state;
233 state = (struct arm_exception_state *)tstate;
239 ovbcopy((void*)saved_state, (void*)state, sizeof(struct arm_exception_state));
254 * Set the current thread state.
478 * Set the thread state (used for psynch support).
482 arm_thread_state_t *state;
490 state = (arm_thread_state_t *) tstate;
498 saved_state->r[0] = state->r[0];
499 saved_state->r[1] = state->r[1];
500 saved_state->r[2] = state->r[2];
501 saved_state->r[3] = state->r[3];
502 saved_state->r[4] = state->r[4];
503 saved_state->r[5] = state->r[5];
505 saved_state->sp = state->sp;
506 saved_state->lr = state->lr;
507 saved_state->pc = state->pc;
508 saved_state->cpsr = sanitise_cpsr(state->cpsr);