mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
target-microblaze: dec_barrel: Use bool instead of unsigned int
Use bool instead of unsigned int to represent flags. No functional change. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
8fc5239e1f
commit
bc54e71e0c
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ static void dec_div(DisasContext *dc)
|
||||||
static void dec_barrel(DisasContext *dc)
|
static void dec_barrel(DisasContext *dc)
|
||||||
{
|
{
|
||||||
TCGv t0;
|
TCGv t0;
|
||||||
unsigned int s, t;
|
bool s, t;
|
||||||
|
|
||||||
if ((dc->tb_flags & MSR_EE_FLAG)
|
if ((dc->tb_flags & MSR_EE_FLAG)
|
||||||
&& (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)
|
&& (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue