]> git.proxmox.com Git - qemu.git/commit
integrator: fix Linux boot failure by emulating dbg region
authorAlex Bennée <alex@bennee.com>
Tue, 22 Oct 2013 14:16:06 +0000 (15:16 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 31 Oct 2013 13:00:16 +0000 (14:00 +0100)
commitb86160555f8d1fe11d6bcec393e08e645d7e1e8d
tree5092456325569f23fd2a51ea915278681d6c4e9b
parent0bc2a331e476c6c834278b8dcc17408a3f0d8f6a
integrator: fix Linux boot failure by emulating dbg region

Commit 9b8c69243 (since reverted) broke the ability to boot the kernel
as the value returned by unassigned_mem_read returned non-zero and left
the kernel looping forever waiting for it to change (see
integrator_led_set in the kernel code).

Relying on a varying implementation detail is incorrect anyway so this
introduces a basic stub of a memory region for the debug/LED section
on the integrator board.

Signed-off-by: Alex Bennée <alex@bennee.com>
Message-id: 1382451366-9539-1-git-send-email-alex.bennee@linaro.org
[PMM: removed three unused fields from struct IntegratorDebugState]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/arm/integratorcp.c
hw/misc/Makefile.objs
hw/misc/arm_integrator_debug.c [new file with mode: 0644]
include/hw/misc/arm_integrator_debug.h [new file with mode: 0644]