summaryrefslogtreecommitdiffstats
path: root/include/hw/timer/stm32f2xx_timer.h
diff options
context:
space:
mode:
authorGreg Kurz2016-07-13 12:00:17 +0200
committerDavid Gibson2016-07-18 02:40:27 +0200
commitc4dfc14b5573d7a2c9731dd3d0cfc20f331f3c87 (patch)
tree3e8f83bc9f301ee663816abe1f5a052dc6efea7b /include/hw/timer/stm32f2xx_timer.h
parentspapr: Ensure CPU cores are added contiguously and removed in LIFO order (diff)
downloadqemu-c4dfc14b5573d7a2c9731dd3d0cfc20f331f3c87.tar.gz
qemu-c4dfc14b5573d7a2c9731dd3d0cfc20f331f3c87.tar.xz
qemu-c4dfc14b5573d7a2c9731dd3d0cfc20f331f3c87.zip
ppc: abort if compat property contains an unknown value
It is not possible to set the compat property to an unknown value with powerpc_set_compat(). Something must have gone terribly wrong in QEMU, if we detect an "Internal error" in powerpc_get_compat(). Let's abort then. This patch also drops the "max_compat ? *max_compat : -1" construct. It is useless since max_compat is dereferenced a few lines above. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/timer/stm32f2xx_timer.h')
0 files changed, 0 insertions, 0 deletions