summary refs log tree commit diff stats
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2018-01-15 19:04:05 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-01-17 09:35:24 +1100
commitfef592f909e99fc4a4a600879b3d64b3bb130fa5 (patch)
tree907a14e0b1dfa511738337fcb75b1d08d98b322d /include/hw/qdev-core.h
parentc035851ac0584e1491f6d0fa28d92a8c7a872362 (diff)
downloadfocaccia-qemu-fef592f909e99fc4a4a600879b3d64b3bb130fa5.tar.gz
focaccia-qemu-fef592f909e99fc4a4a600879b3d64b3bb130fa5.zip
ppc/pnv: change initrd address
When skiboot starts, it first clears the CPU structs for all possible
CPUs on a system :

	for (i = 0; i <= cpu_max_pir; i++)
		memset(&cpu_stacks[i].cpu, 0, sizeof(struct cpu_thread));

On POWER9, cpu_max_pir is quite big, 0x7fff, and the skiboot cpu_stacks
array overlaps with the memory region in which QEMU maps the initramfs
file. Move it upwards in memory to keep it safe.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions