Home
last modified time | relevance | path

Searched refs:spr (Results 1 – 14 of 14) sorted by relevance

/illumos-kvm-cmd/target-ppc/
H A Dkvm.c85 sregs.pvr = cenv->spr[SPR_PVR]; in kvm_arch_init_vcpu()
113 regs.srr0 = env->spr[SPR_SRR0]; in kvm_arch_put_registers()
114 regs.srr1 = env->spr[SPR_SRR1]; in kvm_arch_put_registers()
116 regs.sprg0 = env->spr[SPR_SPRG0]; in kvm_arch_put_registers()
117 regs.sprg1 = env->spr[SPR_SPRG1]; in kvm_arch_put_registers()
118 regs.sprg2 = env->spr[SPR_SPRG2]; in kvm_arch_put_registers()
119 regs.sprg3 = env->spr[SPR_SPRG3]; in kvm_arch_put_registers()
120 regs.sprg4 = env->spr[SPR_SPRG4]; in kvm_arch_put_registers()
121 regs.sprg5 = env->spr[SPR_SPRG5]; in kvm_arch_put_registers()
155 env->spr[SPR_SRR0] = regs.srr0; in kvm_arch_get_registers()
[all …]
H A Dhelper.c92 env->spr[SPR_DAR] = address; in cpu_ppc_handle_mmu_fault()
93 env->spr[SPR_DSISR] = error_code; in cpu_ppc_handle_mmu_fault()
681 if (env->spr[SPR_ASR] & 1) { in slb_get_entry()
1202 env->spr[SPR_405_SLER] = val; in store_40x_sler()
2164 "\n", env->spr[SPR_DSISR], env->spr[SPR_DAR]); in powerpc_excp()
2459 env->spr[SPR_HASH1], env->spr[SPR_HASH2], in powerpc_excp()
2560 env->spr[srr0] = env->nip - 4; in powerpc_excp()
2564 env->spr[srr0] = env->nip; in powerpc_excp()
2568 env->spr[srr1] = msr; in powerpc_excp()
2571 env->spr[asrr0] = env->spr[srr0]; in powerpc_excp()
[all …]
H A Dop_helper.c60 env->spr[sprn]); in helper_load_dump_spr()
66 env->spr[sprn]); in helper_store_dump_spr()
156 hid0 = env->spr[SPR_HID0]; in helper_store_hid0_601()
1622 do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1], in helper_rfi()
1629 do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1], in helper_rfid()
1635 do_rfi(env->spr[SPR_HSRR0], env->spr[SPR_HSRR1], in helper_hrfid()
1701 env->spr[SPR_MQ] = 0; in helper_div()
1716 env->spr[SPR_MQ] = 0; in helper_divo()
1734 env->spr[SPR_MQ] = 0; in helper_divs()
1837 do_rfi(env->spr[SPR_40x_SRR2], env->spr[SPR_40x_SRR3], in helper_40x_rfci()
[all …]
H A Dmachine.c68 qemu_put_betls(f, &env->spr[i]); in cpu_save()
155 qemu_get_betls(f, &env->spr[i]); in cpu_load()
H A Dtranslate_init.c534 ppc_spr_t *spr; in _spr_register() local
536 spr = &env->spr_cb[num]; in _spr_register()
537 if (spr->name != NULL ||env-> spr[num] != 0x00000000 || in _spr_register()
539 spr->oea_read != NULL || spr->oea_write != NULL || in _spr_register()
541 spr->uea_read != NULL || spr->uea_write != NULL) { in _spr_register()
549 spr->name = name; in _spr_register()
9060 ppc_spr_t *spr; in dump_ppc_sprs() local
9072 uw = spr->uea_write != NULL && spr->uea_write != SPR_NOACCESS; in dump_ppc_sprs()
9073 ur = spr->uea_read != NULL && spr->uea_read != SPR_NOACCESS; in dump_ppc_sprs()
9075 sw = spr->oea_write != NULL && spr->oea_write != SPR_NOACCESS; in dump_ppc_sprs()
[all …]
H A Dcpu.h643 target_ulong spr[1024]; member
H A Dtranslate.c519 tcg_gen_ld_tl(t, cpu_env, offsetof(CPUState, spr[reg])); in gen_load_spr()
524 tcg_gen_st_tl(t, cpu_env, offsetof(CPUState, spr[reg])); in gen_store_spr()
8848 TARGET_FMT_lx " idx %d\n", env->msr, env->spr[SPR_HID0], in cpu_dump_state()
8895 TARGET_FMT_lx "\n", env->spr[SPR_SRR0], env->spr[SPR_SRR1], in cpu_dump_state()
/illumos-kvm-cmd/hw/
H A Dppc.c810 env->spr[SPR_40x_TSR] |= 1 << 26; in cpu_4xx_fit_cb()
811 if ((env->spr[SPR_40x_TCR] >> 23) & 0x1) in cpu_4xx_fit_cb()
815 env->spr[SPR_40x_TCR], env->spr[SPR_40x_TSR]); in cpu_4xx_fit_cb()
855 env->spr[SPR_40x_TSR] |= 1 << 27; in cpu_4xx_pit_cb()
856 if ((env->spr[SPR_40x_TCR] >> 26) & 0x1) in cpu_4xx_pit_cb()
863 env->spr[SPR_40x_TCR], env->spr[SPR_40x_TSR], in cpu_4xx_pit_cb()
900 env->spr[SPR_40x_TCR], env->spr[SPR_40x_TSR]); in cpu_4xx_wdt_cb()
906 env->spr[SPR_40x_TSR] |= 1 << 31; in cpu_4xx_wdt_cb()
911 env->spr[SPR_40x_TSR] |= 1 << 30; in cpu_4xx_wdt_cb()
916 env->spr[SPR_40x_TSR] &= ~0x30000000; in cpu_4xx_wdt_cb()
[all …]
H A Dppc405_uc.c1789 dbsr = env->spr[SPR_40x_DBSR]; in ppc40x_core_reset()
1792 env->spr[SPR_40x_DBSR] = dbsr; in ppc40x_core_reset()
1808 dbsr = env->spr[SPR_40x_DBSR]; in ppc40x_chip_reset()
1811 env->spr[SPR_40x_DBSR] = dbsr; in ppc40x_chip_reset()
/illumos-kvm-cmd/
H A Dmicroblaze-dis.c695 char spr[6]; in get_field_special() local
700 strcpy(spr, "msr"); in get_field_special()
703 strcpy(spr, "pc"); in get_field_special()
706 strcpy(spr, "ear"); in get_field_special()
709 strcpy(spr, "esr"); in get_field_special()
712 strcpy(spr, "fsr"); in get_field_special()
715 strcpy(spr, "btr"); in get_field_special()
718 strcpy(spr, "edr"); in get_field_special()
721 strcpy(spr, "pid"); in get_field_special()
724 strcpy(spr, "zpr"); in get_field_special()
[all …]
H A Dppc-dis.c1875 #define XSPR(op, xop, spr) \ argument
1876 …(X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << …
/illumos-kvm-cmd/darwin-user/
H A Dmain.c160 env->spr[SPR_DAR]); in cpu_loop()
169 env->spr[SPR_DAR]); in cpu_loop()
/illumos-kvm-cmd/linux-user/
H A Dmain.c1205 env->spr[SPR_DAR]); in cpu_loop()
1237 "\n", env->spr[SPR_SRR0]); in cpu_loop()
H A Dsignal.c3826 if (__put_user((uint32_t)env->spr[SPR_VRSAVE], in save_user_regs()
3934 if (__get_user(env->spr[SPR_VRSAVE], in restore_user_regs()

Completed in 91 milliseconds