translate.c (4d2b0ad32a593ac24757b66f64efe2fb84161345) | translate.c (2736432ffc30b74fc72858854e62b62253b685ff) |
---|---|
1/* 2 * PowerPC emulation for qemu: main translation routines. 3 * 4 * Copyright (c) 2003-2007 Jocelyn Mayer 5 * Copyright (C) 2011 Freescale Semiconductor, Inc. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 1287 unchanged lines hidden (view full) --- 1296void spr_write_tfmr(DisasContext *ctx, int sprn, int gprn) 1297{ 1298 if (!gen_serialize_core(ctx)) { 1299 return; 1300 } 1301 gen_helper_store_tfmr(tcg_env, cpu_gpr[gprn]); 1302} 1303 | 1/* 2 * PowerPC emulation for qemu: main translation routines. 3 * 4 * Copyright (c) 2003-2007 Jocelyn Mayer 5 * Copyright (C) 2011 Freescale Semiconductor, Inc. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 1287 unchanged lines hidden (view full) --- 1296void spr_write_tfmr(DisasContext *ctx, int sprn, int gprn) 1297{ 1298 if (!gen_serialize_core(ctx)) { 1299 return; 1300 } 1301 gen_helper_store_tfmr(tcg_env, cpu_gpr[gprn]); 1302} 1303 |
1304void spr_write_sprc(DisasContext *ctx, int sprn, int gprn) 1305{ 1306 gen_helper_store_sprc(tcg_env, cpu_gpr[gprn]); 1307} 1308 1309void spr_read_sprd(DisasContext *ctx, int gprn, int sprn) 1310{ 1311 gen_helper_load_sprd(cpu_gpr[gprn], tcg_env); 1312} 1313 1314void spr_write_sprd(DisasContext *ctx, int sprn, int gprn) 1315{ 1316 if (!gen_serialize_core(ctx)) { 1317 return; 1318 } 1319 gen_helper_store_sprd(tcg_env, cpu_gpr[gprn]); 1320} 1321 |
|
1304void spr_write_lpcr(DisasContext *ctx, int sprn, int gprn) 1305{ 1306 translator_io_start(&ctx->base); 1307 gen_helper_store_lpcr(tcg_env, cpu_gpr[gprn]); 1308} 1309#endif /* !defined(CONFIG_USER_ONLY) */ 1310 1311void spr_read_tar(DisasContext *ctx, int gprn, int sprn) --- 5341 unchanged lines hidden --- | 1322void spr_write_lpcr(DisasContext *ctx, int sprn, int gprn) 1323{ 1324 translator_io_start(&ctx->base); 1325 gen_helper_store_lpcr(tcg_env, cpu_gpr[gprn]); 1326} 1327#endif /* !defined(CONFIG_USER_ONLY) */ 1328 1329void spr_read_tar(DisasContext *ctx, int gprn, int sprn) --- 5341 unchanged lines hidden --- |