]> git.ipfire.org Git - thirdparty/qemu.git/commit
lm32: take BQL before writing IP/IM register
authorMichael Walle <michael@walle.cc>
Tue, 9 Jan 2018 17:01:13 +0000 (18:01 +0100)
committerMichael Walle <michael@walle.cc>
Mon, 21 May 2018 11:37:12 +0000 (13:37 +0200)
commit81e9cbd0ca1131012b058df6804b1f626a6b730c
treed05f0defac027a288381b82ac57520784bb944a0
parentdfa93a0b6ef51fd8e0285a9991704b51cf884c33
lm32: take BQL before writing IP/IM register

Writing to these registers may raise an interrupt request. Actually,
this prevents the milkymist board from starting.

Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Walle <michael@walle.cc>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
target/lm32/op_helper.c