static void gen_spr_power5p_lpar(CPUPPCState *env)

{

#if !defined(CONFIG_USER_ONLY)

    /* Logical partitionning */

    spr_register_kvm(env, SPR_LPCR, "LPCR",


                     &spr_read_generic, &spr_write_lpcr,

                     KVM_REG_PPC_LPCR, LPCR_LPES0 | LPCR_LPES1);





#endif

}
static void gen_spr_power5p_lpar(CPUPPCState *env)

{

#if !defined(CONFIG_USER_ONLY)

    

    spr_register_kvm(env, SPR_LPCR, "LPCR",


                     &spr_read_generic, &spr_write_lpcr,

                     KVM_REG_PPC_LPCR, LPCR_LPES0 | LPCR_LPES1);





#endif

}
static void FUNC_0(CPUPPCState *VAR_0)

{

#if !defined(CONFIG_USER_ONLY)

    

    spr_register_kvm(VAR_0, SPR_LPCR, "LPCR",


                     &spr_read_generic, &spr_write_lpcr,

                     KVM_REG_PPC_LPCR, LPCR_LPES0 | LPCR_LPES1);





#endif

}
static void FUNC_0(CPUPPCState *VAR_0)
{ #if !defined(CONFIG_USER_ONLY)
spr_register_kvm(VAR_0, SPR_LPCR, "LPCR",
&spr_read_generic, &spr_write_lpcr,
KVM_REG_PPC_LPCR, LPCR_LPES0 | LPCR_LPES1); #endif
}