msr_hv macro hides the usage of env->msr, which is a bad
behavior. Substitute it with FIELD_EX64 calls that explicitly use
env->msr as a parameter.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
---
v2: Remove M_MSR_HV and use FIELD_EX64 instead.
In this patch I'm having some problems on how to use FIELD in the
'not defined TARGET_PPC64' case. IIUC in case the target is 32 bits
then the mask should be zero. However the mask is created in
MAKE_64BIT_MASK, and MAKE_64BIT_MASK(_, 0) triggers undefined behavior
as it would try to do a 64 bit right shift. Am I missing an easy way
to do this?