]> Git Repo - qemu.git/commit - hw/ide/ahci.h
ahci: add cmd header to ncq transfer state
authorJohn Snow <[email protected]>
Sat, 4 Jul 2015 06:06:05 +0000 (02:06 -0400)
committerJohn Snow <[email protected]>
Sat, 4 Jul 2015 06:06:05 +0000 (02:06 -0400)
commitc82bd3c893825fc76af3634f5461f5eabd94e9df
tree1923f2cac9d3ea441dac00806796fe34832d0db8
parent7f6cf5ee1236d94fc25830a47438e57aa294d9fe
ahci: add cmd header to ncq transfer state

While the rest of the AHCI device can rely on a single bookmarked
pointer for the AHCI Command Header currently being processed, NCQ
is asynchronous and may have many commands in flight simultaneously.

Add a cmdh pointer to the ncq_tfs object and make the sglist prepare
function take an AHCICmdHeader pointer so we can be explicit about
where we'd like to build SGlists from.

Signed-off-by: John Snow <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 1435767578[email protected]
hw/ide/ahci.c
hw/ide/ahci.h
This page took 0.024929 seconds and 4 git commands to generate.