qemu-patch-raspberry4/hw/bt
Marc-André Lureau 41ac54b253 char: allocate CharDriverState as a single object
Use a single allocation for CharDriverState, this avoids extra
allocations & pointers, and is a step towards more object-oriented
CharDriver.

Gtk console is a bit peculiar, gd_vc_chr_set_echo() used to have a
temporary VirtualConsole to save the echo bit. Instead now, we consider
whether vcd->console is set or not, and restore the echo bit saved in
VCDriverState when calling gd_vc_vte_init().

The casts added are temporary, they are replaced with QOM type-safe
macros in a later patch in this series.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-27 18:07:59 +01:00
..
core.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
hci-csr.c char: allocate CharDriverState as a single object 2017-01-27 18:07:59 +01:00
hci.c hw/bt/hci: spelling fix: endianness 2016-09-13 18:12:34 +03:00
hid.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
l2cap.c hw/bt: Don't use cpu_to_*w() and *_to_cpup() 2016-07-12 15:08:53 +01:00
Makefile.objs hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sdp.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00