diff options
| author | John Snow | 2017-09-18 21:01:26 +0200 |
|---|---|---|
| committer | John Snow | 2017-09-19 01:41:11 +0200 |
| commit | 5fa0feecaa5c1e05b6bed0e9684b78ae15f0e755 (patch) | |
| tree | c88be2deb976156b5b0e8850b06f2fef88468688 /include/hw/ide | |
| parent | AHCI: Replace DPRINTF with trace-events (diff) | |
| download | qemu-5fa0feecaa5c1e05b6bed0e9684b78ae15f0e755.tar.gz qemu-5fa0feecaa5c1e05b6bed0e9684b78ae15f0e755.tar.xz qemu-5fa0feecaa5c1e05b6bed0e9684b78ae15f0e755.zip | |
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 <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170901001502.29915-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/hw/ide')
0 files changed, 0 insertions, 0 deletions
