]> Git Repo - qemu.git/commit
vl.c: Provide accessor function serial_hd() for serial_hds[] array
authorPeter Maydell <[email protected]>
Fri, 20 Apr 2018 14:52:42 +0000 (15:52 +0100)
committerPeter Maydell <[email protected]>
Thu, 26 Apr 2018 12:57:00 +0000 (13:57 +0100)
commita8d78cd0ab6204b6ee8897e30d0fbb9c8979ddca
tree719affc6a1da412235d02a233aac64aaf6bda1c6
parentb82fcd30325815254eea7197337b3e15e0a46938
vl.c: Provide accessor function serial_hd() for serial_hds[] array

Provide an accessor function serial_hd() to return the Chardev
(if any) associated with the numbered serial port. This will
be used to replace direct accesses to the serial_hds[] array,
so that calling code doesn't need to care about the size of
that array.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20180420145249[email protected]
include/sysemu/sysemu.h
vl.c
This page took 0.021991 seconds and 4 git commands to generate.