summary refs log tree commit diff stats
path: root/hw/acpi/tco.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-10-10 17:14:44 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-10-16 18:03:52 +0200
commit17bd9597be45b96ae00716b0ae01a4d11bbee1ab (patch)
tree3f88ba61fac9e514430ee03eb62c82ca496513f5 /hw/acpi/tco.c
parent7271a81949ee9806705d51618379246fb2b72209 (diff)
downloadfocaccia-qemu-17bd9597be45b96ae00716b0ae01a4d11bbee1ab.tar.gz
focaccia-qemu-17bd9597be45b96ae00716b0ae01a4d11bbee1ab.zip
nios2: define tcg_env
This should be done by all target and, since commit 53f6672bcf
("gen-icount: use tcg_ctx.tcg_env instead of cpu_env", 2017-06-30),
is causing the NIOS2 target to hang.

This is because the test for "should I exit to the main loop"
was being done with the correct offset to the icount decrementer,
but using TCG temporary 0 (the frame pointer) rather than the
env pointer.

Cc: qemu-stable@nongnu.org
Cc: Marek Vasut <marex@denx.de>
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/acpi/tco.c')
0 files changed, 0 insertions, 0 deletions