Lines Matching refs:load

235 static void nested_load_state(PowerPCCPU *cpu, struct nested_ppc_state *load)  in nested_load_state()  argument
240 memcpy(env->gpr, load->gpr, sizeof(env->gpr)); in nested_load_state()
242 env->lr = load->lr; in nested_load_state()
243 env->ctr = load->ctr; in nested_load_state()
244 env->cfar = load->cfar; in nested_load_state()
245 env->msr = load->msr; in nested_load_state()
246 env->nip = load->nip; in nested_load_state()
248 ppc_set_cr(env, load->cr); in nested_load_state()
249 cpu_write_xer(env, load->xer); in nested_load_state()
251 env->spr[SPR_LPCR] = load->lpcr; in nested_load_state()
252 env->spr[SPR_LPIDR] = load->lpidr; in nested_load_state()
253 env->spr[SPR_PCR] = load->pcr; in nested_load_state()
254 env->spr[SPR_DPDES] = load->dpdes; in nested_load_state()
255 env->spr[SPR_HFSCR] = load->hfscr; in nested_load_state()
256 env->spr[SPR_SRR0] = load->srr0; in nested_load_state()
257 env->spr[SPR_SRR1] = load->srr1; in nested_load_state()
258 env->spr[SPR_SPRG0] = load->sprg0; in nested_load_state()
259 env->spr[SPR_SPRG1] = load->sprg1; in nested_load_state()
260 env->spr[SPR_SPRG2] = load->sprg2; in nested_load_state()
261 env->spr[SPR_SPRG3] = load->sprg3; in nested_load_state()
262 env->spr[SPR_BOOKS_PID] = load->pidr; in nested_load_state()
263 env->spr[SPR_PPR] = load->ppr; in nested_load_state()
266 env->spr[SPR_AMOR] = load->amor; in nested_load_state()
267 env->spr[SPR_DAWR0] = load->dawr0; in nested_load_state()
268 env->spr[SPR_DAWRX0] = load->dawrx0; in nested_load_state()
269 env->spr[SPR_CIABR] = load->ciabr; in nested_load_state()
270 env->spr[SPR_PURR] = load->purr; in nested_load_state()
271 env->spr[SPR_SPURR] = load->purr; in nested_load_state()
272 env->spr[SPR_IC] = load->ic; in nested_load_state()
273 env->spr[SPR_VTB] = load->vtb; in nested_load_state()
274 env->spr[SPR_HDAR] = load->hdar; in nested_load_state()
275 env->spr[SPR_HDSISR] = load->hdsisr; in nested_load_state()
276 env->spr[SPR_HEIR] = load->heir; in nested_load_state()
277 env->spr[SPR_ASDR] = load->asdr; in nested_load_state()
278 env->spr[SPR_DAWR1] = load->dawr1; in nested_load_state()
279 env->spr[SPR_DAWRX1] = load->dawrx1; in nested_load_state()
280 env->spr[SPR_DEXCR] = load->dexcr; in nested_load_state()
281 env->spr[SPR_HDEXCR] = load->hdexcr; in nested_load_state()
282 env->spr[SPR_HASHKEYR] = load->hashkeyr; in nested_load_state()
283 env->spr[SPR_HASHPKEYR] = load->hashpkeyr; in nested_load_state()
284 memcpy(env->vsr, load->vsr, sizeof(env->vsr)); in nested_load_state()
285 env->spr[SPR_EBBHR] = load->ebbhr; in nested_load_state()
286 env->spr[SPR_TAR] = load->tar; in nested_load_state()
287 env->spr[SPR_EBBRR] = load->ebbrr; in nested_load_state()
288 env->spr[SPR_BESCR] = load->bescr; in nested_load_state()
289 env->spr[SPR_IAMR] = load->iamr; in nested_load_state()
290 env->spr[SPR_AMR] = load->amr; in nested_load_state()
291 env->spr[SPR_UAMOR] = load->uamor; in nested_load_state()
292 env->spr[SPR_DSCR] = load->dscr; in nested_load_state()
293 env->spr[SPR_FSCR] = load->fscr; in nested_load_state()
294 env->spr[SPR_PSPB] = load->pspb; in nested_load_state()
295 env->spr[SPR_CTRL] = load->ctrl; in nested_load_state()
296 env->spr[SPR_VRSAVE] = load->vrsave; in nested_load_state()
297 env->spr[SPR_DAR] = load->dar; in nested_load_state()
298 env->spr[SPR_DSISR] = load->dsisr; in nested_load_state()
299 env->spr[SPR_POWER_PMC1] = load->pmc1; in nested_load_state()
300 env->spr[SPR_POWER_PMC2] = load->pmc2; in nested_load_state()
301 env->spr[SPR_POWER_PMC3] = load->pmc3; in nested_load_state()
302 env->spr[SPR_POWER_PMC4] = load->pmc4; in nested_load_state()
303 env->spr[SPR_POWER_PMC5] = load->pmc5; in nested_load_state()
304 env->spr[SPR_POWER_PMC6] = load->pmc6; in nested_load_state()
305 env->spr[SPR_POWER_MMCR0] = load->mmcr0; in nested_load_state()
306 env->spr[SPR_POWER_MMCR1] = load->mmcr1; in nested_load_state()
307 env->spr[SPR_POWER_MMCR2] = load->mmcr2; in nested_load_state()
308 env->spr[SPR_POWER_MMCRA] = load->mmcra; in nested_load_state()
309 env->spr[SPR_POWER_SDAR] = load->sdar; in nested_load_state()
310 env->spr[SPR_POWER_SIAR] = load->siar; in nested_load_state()
311 env->spr[SPR_POWER_SIER] = load->sier; in nested_load_state()
312 ppc_store_vscr(env, load->vscr); in nested_load_state()
313 ppc_store_fpscr(env, load->fpscr); in nested_load_state()
315 env->tb_env->tb_offset = load->tb_offset; in nested_load_state()