Revision dc1c21e6 qemu-char.c
b/qemu-char.c | ||
---|---|---|
2229 | 2229 |
if (strcmp(filename, "null") == 0 || |
2230 | 2230 |
strcmp(filename, "pty") == 0 || |
2231 | 2231 |
strcmp(filename, "msmouse") == 0 || |
2232 |
strcmp(filename, "braille") == 0 || |
|
2232 | 2233 |
strcmp(filename, "stdio") == 0) { |
2233 | 2234 |
qemu_opt_set(opts, "backend", filename); |
2234 | 2235 |
return opts; |
... | ... | |
2290 | 2291 |
{ .name = "pty", .open = qemu_chr_open_pty }, |
2291 | 2292 |
{ .name = "stdio", .open = qemu_chr_open_stdio }, |
2292 | 2293 |
#endif |
2294 |
#ifdef CONFIG_BRLAPI |
|
2295 |
{ .name = "braille", .open = chr_baum_init }, |
|
2296 |
#endif |
|
2293 | 2297 |
}; |
2294 | 2298 |
|
2295 | 2299 |
CharDriverState *qemu_chr_open_opts(QemuOpts *opts, |
... | ... | |
2381 | 2385 |
chr = qemu_chr_open_win_con(filename); |
2382 | 2386 |
} else |
2383 | 2387 |
#endif |
2384 |
#ifdef CONFIG_BRLAPI |
|
2385 |
if (!strcmp(filename, "braille")) { |
|
2386 |
chr = chr_baum_init(); |
|
2387 |
} else |
|
2388 |
#endif |
|
2389 | 2388 |
{ |
2390 | 2389 |
chr = NULL; |
2391 | 2390 |
} |
Also available in: Unified diff