Revision 75554a3c hw/omap2.c
b/hw/omap2.c | ||
---|---|---|
156 | 156 |
{ |
157 | 157 |
if (timer->pt) |
158 | 158 |
/* TODO in overflow-and-match mode if the first event to |
159 |
* occurs is the match, don't toggle. */
|
|
159 |
* occur is the match, don't toggle. */ |
|
160 | 160 |
omap_gp_timer_out(timer, !timer->out_val); |
161 | 161 |
else |
162 | 162 |
/* TODO inverted pulse on timer->out_val == 1? */ |
... | ... | |
2151 | 2151 |
|
2152 | 2152 |
if (ch == STI_TRACE_CONTROL_CHANNEL) { |
2153 | 2153 |
/* Flush channel <i>value</i>. */ |
2154 |
qemu_chr_write(s->chr, "\r", 1); |
|
2154 |
qemu_chr_write(s->chr, (const uint8_t *) "\r", 1);
|
|
2155 | 2155 |
} else if (ch == STI_TRACE_CONSOLE_CHANNEL || 1) { |
2156 | 2156 |
if (value == 0xc0 || value == 0xc3) { |
2157 | 2157 |
/* Open channel <i>ch</i>. */ |
2158 | 2158 |
} else if (value == 0x00) |
2159 |
qemu_chr_write(s->chr, "\n", 1); |
|
2159 |
qemu_chr_write(s->chr, (const uint8_t *) "\n", 1);
|
|
2160 | 2160 |
else |
2161 | 2161 |
qemu_chr_write(s->chr, &byte, 1); |
2162 | 2162 |
} |
Also available in: Unified diff