Revision 57e073a3 qemu-char.c
b/qemu-char.c | ||
---|---|---|
128 | 128 |
} |
129 | 129 |
} |
130 | 130 |
|
131 |
void qemu_chr_initial_reset(void) |
|
132 |
{ |
|
133 |
CharDriverState *chr; |
|
134 |
|
|
135 |
QTAILQ_FOREACH(chr, &chardevs, next) { |
|
136 |
qemu_chr_reset(chr); |
|
137 |
} |
|
138 |
} |
|
139 |
|
|
140 | 131 |
int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len) |
141 | 132 |
{ |
142 | 133 |
return s->chr_write(s, buf, len); |
Also available in: Unified diff