Stefan Hajnoczi 192cf55cc0 ahci: avoid #ifdef DEBUG_AHCI bitrot
Debug code using #ifdef is susceptible to bitrot because the compiler
never checks the debug code.

This is easy to avoid, change the DPRINTF() macro to use if (DEBUG_AHCI)
and always give it a 0 or 1 value.

This also allows us to drop an #ifdef DEBUG_AHCI in ahci_start_dma()
since the compiler can now see the local variable is used.

The motivation for this change is a recent DEBUG_AHCI build failure due
to an outdated DPRINTF() format string.  From now on the compiler will
catch these errors.

Cc: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1415874281-7371-2-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-12-10 10:31:12 +01:00
2014-09-18 20:02:01 +01:00
2013-04-18 13:50:53 +02:00
2014-12-10 10:31:12 +01:00
2014-12-10 10:25:29 +01:00
2014-11-14 12:15:40 +01:00
2014-11-15 13:01:44 +00:00
2014-11-15 13:01:44 +00:00
2014-11-26 12:11:27 +01:00
2014-11-02 13:30:00 +01:00
2012-09-07 09:02:44 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2014-08-29 10:46:58 +01:00
2014-06-23 11:12:28 -04:00
2014-12-10 10:25:29 +01:00
2013-10-11 09:34:56 -07:00
2014-09-16 11:04:09 +02:00
2013-07-23 02:41:31 +02:00
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
2013-08-12 09:15:12 -05:00
2014-11-11 09:46:46 +01:00
2014-09-26 09:34:39 +01:00
2014-12-10 10:31:11 +01:00
2014-11-23 12:11:29 +02:00
2014-05-24 00:07:29 +04:00
2014-12-10 10:25:30 +01:00
2013-10-11 09:34:56 -07:00
2014-02-17 11:57:23 -05:00
2014-10-31 11:29:01 +01:00
2014-06-05 16:10:33 +02:00
2014-12-09 21:48:34 +00:00
2013-10-11 09:34:56 -07:00
2014-12-10 10:25:30 +01:00
2014-07-07 10:37:40 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 528 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%