projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9858b3
)
dma/sb16: make clang analyzer not complain
author
malc
<av1474@comtv.ru>
Tue, 12 Jan 2010 18:55:45 +0000
(21:55 +0300)
committer
malc
<av1474@comtv.ru>
Tue, 12 Jan 2010 18:55:53 +0000
(21:55 +0300)
Signed-off-by: malc <av1474@comtv.ru>
hw/dma.c
patch
|
blob
|
history
hw/sb16.c
patch
|
blob
|
history
diff --git
a/hw/dma.c
b/hw/dma.c
index 44c642ea11ae22e23cf215e4c4bea32851821891..e5f7af7a88d46f480d5026881e85b5121ab45fbb 100644
(file)
--- a/
hw/dma.c
+++ b/
hw/dma.c
@@
-344,7
+344,6
@@
static void channel_run (int ncont, int ichan)
}
#endif
- r = dma_controllers[ncont].regs + ichan;
n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
r->now[COUNT], (r->base[COUNT] + 1) << ncont);
r->now[COUNT] = n;
diff --git
a/hw/sb16.c
b/hw/sb16.c
index 9f4ac5040e5479c4a82e36b4d47d3c551c91e5f0..78590a76f1cbc116a36590a1ec523efcf15c8f7d 100644
(file)
--- a/
hw/sb16.c
+++ b/
hw/sb16.c
@@
-782,8
+782,10
@@
static void complete (SB16State *s)
break;
case 0xe2:
+#ifdef DEBUG
d0 = dsp_get_data (s);
- ldebug ("E2 = %#x\n", d0);
+ dolog ("E2 = %#x\n", d0);
+#endif
break;
case 0xe4: