Commit 07163c99 authored by Sven Schnelle's avatar Sven Schnelle Committed by Paolo Bonzini
Browse files

lsi: return dfifo value



Code was assigning DFIFO, but didn't return the value to users.

Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
Message-Id: <20190305195519.24303-6-svens@stackframe.org>
parent 82cf2bcf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1688,7 +1688,7 @@ static uint8_t lsi_reg_readb(LSIState *s, int offset)
        break;
    CASE_GET_REG32(temp, 0x1c)
    case 0x20: /* DFIFO */
        ret = 0;
        ret = s->dfifo;
        break;
    case 0x21: /* CTEST4 */
        ret = s->ctest4;