mirror of https://github.com/xemu-project/xemu.git
lasips2: spacing fixes
This helps improve the readability of lasips2.c. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220624134109.881989-17-mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
eca9e8702b
commit
2a93d3c165
|
@ -205,7 +205,6 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr addr, unsigned size)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case REG_PS2_STATUS:
|
case REG_PS2_STATUS:
|
||||||
|
|
||||||
ret = LASIPS2_STATUS_DATSHD | LASIPS2_STATUS_CLKSHD;
|
ret = LASIPS2_STATUS_DATSHD | LASIPS2_STATUS_CLKSHD;
|
||||||
|
|
||||||
if (port->control & LASIPS2_CONTROL_DIAG) {
|
if (port->control & LASIPS2_CONTROL_DIAG) {
|
||||||
|
@ -238,9 +237,9 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr addr, unsigned size)
|
||||||
__func__, addr);
|
__func__, addr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
trace_lasips2_reg_read(size, port->id, addr,
|
trace_lasips2_reg_read(size, port->id, addr,
|
||||||
lasips2_read_reg_name(addr), ret);
|
lasips2_read_reg_name(addr), ret);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -257,6 +256,7 @@ static const MemoryRegionOps lasips2_reg_ops = {
|
||||||
static void ps2dev_update_irq(void *opaque, int level)
|
static void ps2dev_update_irq(void *opaque, int level)
|
||||||
{
|
{
|
||||||
LASIPS2Port *port = opaque;
|
LASIPS2Port *port = opaque;
|
||||||
|
|
||||||
port->irq = level;
|
port->irq = level;
|
||||||
lasips2_update_irq(port->parent);
|
lasips2_update_irq(port->parent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue