qemu-e2k/include
Alexander Graf e81a982aa5 PPC: Clean up DECR implementation
There are 3 different variants of the decrementor for BookE and BookS.

The BookE variant sets TSR[DIS] to 1 when the DEC value becomes 1 or 0. TSR[DIS]
is then the indicator whether the decrementor interrupt line is asserted or not.

The old BookS variant treats DEC as an edge interrupt that gets triggered when
the DEC value's top bit turns 1 from 0.

The new BookS variant maintains the assertion bit inside DEC itself. Whenever
the DEC value becomes negative (top bit set) the DEC interrupt line is asserted.

So far we implemented mostly the old BookS variant. Let's do them all properly.

This fixes booting pseries ppc64 guest images in TCG mode for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
2014-04-08 11:20:04 +02:00
..
block block: Fix snapshot=on for protocol parsed from filename 2014-04-04 19:35:51 +02:00
disas
exec
fpu softfloat: Introduce float32_to_uint64_round_to_zero 2014-04-08 11:20:00 +02:00
hw PPC: Clean up DECR implementation 2014-04-08 11:20:04 +02:00
migration
monitor
net
qapi
qemu
qom
sysemu iothread: make IOThread struct definition public 2014-04-04 20:48:02 +02:00
ui
config.h
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace.h