[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helper
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers |
Date: |
Thu, 5 Feb 2015 13:17:20 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Feb 03, 2015 at 04:46:24PM -0500, John Snow wrote:
> @@ -432,5 +433,11 @@ void start_ahci_device(AHCIQState *ahci);
> void ahci_hba_enable(AHCIQState *ahci);
> unsigned ahci_port_select(AHCIQState *ahci);
> void ahci_port_clear(AHCIQState *ahci, uint8_t px);
> +void ahci_get_command_header(AHCIQState *ahci, uint8_t px,
> + uint8_t cx, AHCICommandHeader *cmd);
> +void ahci_set_command_header(AHCIQState *ahci, uint8_t px,
> + uint8_t cx, AHCICommandHeader *cmd);
> +void ahci_destroy_command(AHCIQState *ahci, uint8_t px, uint8_t cx);
> +unsigned ahci_pick_cmd(AHCIQState *ahci, uint8_t px);
"px" and "cx" are cryptic names. "port" and "cmd_slot" would be
clearer.
pgppSYFmTJ1VY.pgp
Description: PGP signature
- [Qemu-devel] [PATCH v2 02/19] libqos/ahci: Add ahci_port_clear helper, (continued)
- [Qemu-devel] [PATCH v2 05/19] libqos/ahci: Add ahci_port_check_error helper, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers, John Snow, 2015/02/03
- Re: [Qemu-devel] [PATCH v2 04/19] libqos/ahci: Add command header helpers,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v2 11/19] libqos/ahci: Add ide cmd properties, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 07/19] libqos/ahci: Add port_check_nonbusy helper, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 14/19] libqos/ahci: add ahci command size setters, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 09/19] qtest/ahci: Demagic ahci tests., John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 08/19] libqos/ahci: Add cmd response sanity check helpers, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 15/19] libqos/ahci: Add ahci_guest_io, John Snow, 2015/02/03
- [Qemu-devel] [PATCH v2 06/19] libqos/ahci: Add ahci_port_check_interrupts helper, John Snow, 2015/02/03