Revision 487414f1 hw/serial.c
b/hw/serial.c | ||
---|---|---|
732 | 732 |
SerialState *s; |
733 | 733 |
|
734 | 734 |
s = qemu_mallocz(sizeof(SerialState)); |
735 |
if (!s) |
|
736 |
return NULL; |
|
737 | 735 |
|
738 | 736 |
serial_init_core(s, irq, baudbase, chr); |
739 | 737 |
|
... | ... | |
824 | 822 |
int s_io_memory; |
825 | 823 |
|
826 | 824 |
s = qemu_mallocz(sizeof(SerialState)); |
827 |
if (!s) |
|
828 |
return NULL; |
|
829 | 825 |
|
830 | 826 |
s->it_shift = it_shift; |
831 | 827 |
|
Also available in: Unified diff