aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-05-19 10:49:03 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-06-14 12:36:29 +0200
commit0122f47279d18eb79fa63ddc550aa43a98d85faf (patch)
tree0f6ec6086a7a4dfa7df5dc7dca94ae4c8090fd62 /qemu-options.h
parentf2c88dc10e9258ba57f5edaeb3670259fb6ac2b9 (diff)
usb-ehci: add queue data struct
Add EHCIQueue struct, move the fields needed to track the queue state into that struct. Pass the new struct instead of ehci state down to functions which handle the queue state. Lot of variable references have changed due to that without an actual functional change. Replace fetch_addr with two variables, one for async and one for periodic schedule. Add functions to get and set the fetch address. Use EHCIQueue->usb_status (old name: EHCIState->exec_status) directly in ehci_execute_complete instead of passing around the status using a parameters and the return value. ehci_state_fetchqh returns a EHCIQueue struct now. No change in behavior. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions