summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/input-event-codes.h
diff options
context:
space:
mode:
authorThomas Huth2016-06-07 17:39:39 +0200
committerDavid Gibson2016-06-14 02:41:38 +0200
commiteac4fba965136f61cc239a450bec12adcef6b449 (patch)
tree24eb8cb3cfc194a46bbb831f228135d19517a6db /include/standard-headers/linux/input-event-codes.h
parentppc: Provide function to get CPU class of the host CPU (diff)
downloadqemu-eac4fba965136f61cc239a450bec12adcef6b449.tar.gz
qemu-eac4fba965136f61cc239a450bec12adcef6b449.tar.xz
qemu-eac4fba965136f61cc239a450bec12adcef6b449.zip
ppc: Improve PCR bit selection in ppc_set_compat()
When using an olderr PowerISA level, all the upper compatibility bits have to be enabled, too. For example when we want to run something in PowerISA 2.05 compatibility mode on POWER8, the bit for 2.06 has to be set beside the bit for 2.05. Additionally, to make sure that we do not set bits that are not supported by the host, we apply a mask with the known-to-be-good bits here, too. Signed-off-by: Thomas Huth <thuth@redhat.com> [dwg: Added some #ifs to fix compile on 32-bit targets] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions