]> Git Repo - qemu.git/commit - hw/block/fdc.c
fdc: Disentangle phases in fdctrl_read_data()
authorKevin Wolf <[email protected]>
Thu, 21 May 2015 13:19:36 +0000 (15:19 +0200)
committerJohn Snow <[email protected]>
Tue, 2 Jun 2015 17:34:44 +0000 (13:34 -0400)
commitf6c2d1d8425fd0ca450d515b06821e2224d4b43c
tree4010020da5c8baaf18a115108fc0fbf348fe0d36
parentd275b33d76c8ed9d5a3dca22ea0fdec8d5a5c8e6
fdc: Disentangle phases in fdctrl_read_data()

This commit makes similar improvements as have already been made to the
write function: Instead of relying on a flag in the MSR to distinguish
controller phases, use the explicit phase that we store now. Assertions
of the right MSR flags are added.

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-id: 1432214378[email protected]
Signed-off-by: John Snow <[email protected]>
hw/block/fdc.c
This page took 0.020433 seconds and 4 git commands to generate.