aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/translate_init.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-05-12 12:26:57 -0700
committermalc <av1474@comtv.ru>2009-05-16 01:36:08 +0400
commitc29b735c50524c0561def6f4f04502a581a15683 (patch)
treecc8b30c93b125b66aad5015cf8bd0cc24f561cb0 /target-ppc/translate_init.c
parentd33fd9d14b97731721e70bbb500ebc33c9e3a6ef (diff)
target-ppc: expose cpu capability flags
Do this so other pieces of code can make decisions based on the capabilities of the CPU we're emulating. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r--target-ppc/translate_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index f5e3b28f62..e73bed2a58 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -9483,6 +9483,7 @@ int cpu_ppc_register_internal (CPUPPCState *env, const ppc_def_t *def)
env->mmu_model = def->mmu_model;
env->excp_model = def->excp_model;
env->bus_model = def->bus_model;
+ env->insns_flags = def->insns_flags;
env->flags = def->flags;
env->bfd_mach = def->bfd_mach;
env->check_pow = def->check_pow;