]> Git Repo - qemu.git/commit
AHCI: Rework IRQ constants
authorJohn Snow <[email protected]>
Mon, 18 Sep 2017 19:01:26 +0000 (15:01 -0400)
committerJohn Snow <[email protected]>
Mon, 18 Sep 2017 23:41:11 +0000 (19:41 -0400)
commit5fa0feecaa5c1e05b6bed0e9684b78ae15f0e755
treec88be2deb976156b5b0e8850b06f2fef88468688
parente4baa9f00b9ddf47ac2811eb58a3931434b848f7
AHCI: Rework IRQ constants

Create a new enum so that we can name the IRQ bits, which will make debugging
them a little nicer if we can print them out. Not handled in this patch, but
this will make it possible to get a nice debug printf detailing exactly which
status bits are set, as it can be multiple at any given time.

As a consequence of this patch, it is no longer possible to set multiple IRQ
codes at once, but nothing was utilizing this ability anyway.

Signed-off-by: John Snow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 20170901001502[email protected]
Signed-off-by: John Snow <[email protected]>
hw/ide/ahci.c
hw/ide/ahci_internal.h
hw/ide/trace-events
This page took 0.026167 seconds and 4 git commands to generate.