Revision bc9b78de
b/dma-helpers.c | ||
---|---|---|
24 | 24 |
while (len > 0) { |
25 | 25 |
l = len < FILLBUF_SIZE ? len : FILLBUF_SIZE; |
26 | 26 |
cpu_physical_memory_rw(addr, fillbuf, l, true); |
27 |
len -= len;
|
|
28 |
addr += len;
|
|
27 |
len -= l; |
|
28 |
addr += l; |
|
29 | 29 |
} |
30 | 30 |
} |
31 | 31 |
|
Also available in: Unified diff