diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-03-01 17:54:40 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-03 11:30:59 +1100 |
commit | 6f46dcb3e5b9352ad3479bd6f005576510ee45fb (patch) | |
tree | 271e83838cfd2d7e8229947365a6702d1b20ea63 /qmp.c | |
parent | 4975c098c9f4f96d433e88ab1b63d0d7e2a48ce0 (diff) | |
download | qemu-6f46dcb3e5b9352ad3479bd6f005576510ee45fb.zip qemu-6f46dcb3e5b9352ad3479bd6f005576510ee45fb.tar.gz qemu-6f46dcb3e5b9352ad3479bd6f005576510ee45fb.tar.bz2 |
target/ppc/POWER9: Add cpu_has_work function for POWER9
The cpu has work function is used to mask interrupts used to determine
if there is work for the cpu based on the LPCR. Add a function to do this
for POWER9 and add it to the POWER9 cpu definition. This is similar to that
for POWER8 except using the LPCR bits as defined for POWER9.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions