diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2016-02-07 21:34:07 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-02-17 09:59:30 +1100 |
commit | 374312e7c5cd04e29a5a6279dd7006a4a94c0f0f (patch) | |
tree | 826c5dbd8351a3e03ea55e65fa5569e2e2cc50e1 /hw/ppc | |
parent | 1cdab104468d900c1ed0a2e689b944ec8e2d12d8 (diff) |
cuda: port SET_AUTO_RATE command to new framework
Also implement the command, by removing the hardcoded period of 20 ms/50 Hz
and replacing it by the one requested by user.
Update VMState version to store this new parameter.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h index ecf7792bc9..887c8c182b 100644 --- a/hw/ppc/mac.h +++ b/hw/ppc/mac.h @@ -111,6 +111,7 @@ typedef struct CUDAState { int data_out_index; qemu_irq irq; + uint8_t autopoll_rate_ms; uint8_t autopoll; uint8_t data_in[128]; uint8_t data_out[16]; |